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

Unified Diff: src/IceTargetLoweringARM32.cpp

Issue 1677593003: Subzero: Improve an error message. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « no previous file | src/IceTargetLoweringX86BaseImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceTargetLoweringARM32.cpp
diff --git a/src/IceTargetLoweringARM32.cpp b/src/IceTargetLoweringARM32.cpp
index 0aea5ea906c43b097445967176bb354eb7e376b0..0322a7e54ef60c6a77ff3599f78f52998d4a1620 100644
--- a/src/IceTargetLoweringARM32.cpp
+++ b/src/IceTargetLoweringARM32.cpp
@@ -958,8 +958,9 @@ void TargetARM32::emitVariable(const Variable *Var) const {
return;
}
if (Var->mustHaveReg()) {
- llvm::report_fatal_error(
- "Infinite-weight Variable has no register assigned");
+ llvm::report_fatal_error("Infinite-weight Variable (" + Var->getName(Func) +
+ ") has no register assigned - function " +
+ Func->getFunctionName());
}
assert(!Var->isRematerializable());
int32_t Offset = Var->getStackOffset();
« no previous file with comments | « no previous file | src/IceTargetLoweringX86BaseImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698