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) |