Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Unified Diff: src/IceTargetLowering.h

Issue 1639063002: UnimplementedLoweringError's message now includes the instruction name. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Remove unnecessary include Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/IceInst.cpp ('K') | « src/IceInst.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceTargetLowering.h
diff --git a/src/IceTargetLowering.h b/src/IceTargetLowering.h
index f8355b93aaa734e2f0da9a9fbfa98f01e9bd521a..3d3452e33d075cb5b085f890a4cb082013e960f3 100644
--- a/src/IceTargetLowering.h
+++ b/src/IceTargetLowering.h
@@ -55,7 +55,8 @@ namespace Ice {
} else { \
/* Use llvm_unreachable instead of report_fatal_error, which gives \
better stack traces. */ \
- llvm_unreachable("Not yet implemented"); \
+ llvm_unreachable( \
+ ("Not yet implemented: " + Instr->getInstName()).c_str()); \
Jim Stichnoth 2016/01/27 22:31:51 The extra level of parentheses is odd, i.e. llvm
abort(); \
} \
} while (0)
« src/IceInst.cpp ('K') | « src/IceInst.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698