[llvm-commits] CVS: llvm/tools/bugpoint/CodeGeneratorBug.cpp
Brian Gaeke
gaeke at cs.uiuc.edu
Fri Mar 12 15:38:01 PST 2004
Changes in directory llvm/tools/bugpoint:
CodeGeneratorBug.cpp updated: 1.37 -> 1.38
---
Log message:
Revise comment and error message for the Bug 38 situation. Also, make it
print out the name of the function being used.
---
Diffs of the changes: (+5 -4)
Index: llvm/tools/bugpoint/CodeGeneratorBug.cpp
diff -u llvm/tools/bugpoint/CodeGeneratorBug.cpp:1.37 llvm/tools/bugpoint/CodeGeneratorBug.cpp:1.38
--- llvm/tools/bugpoint/CodeGeneratorBug.cpp:1.37 Fri Feb 20 00:12:58 2004
+++ llvm/tools/bugpoint/CodeGeneratorBug.cpp Fri Mar 12 15:37:46 2004
@@ -167,10 +167,11 @@
// actually use the resolved function
Inst->replaceUsesOfWith(F, castResolver);
} else {
- // FIXME: need to take care of cases where a function is used that
- // is not an instruction, e.g. global variable initializer...
- std::cerr <<
- "UNSUPPORTED: External function used as global initializer!\n";
+ // FIXME: need to take care of cases where a function is used by
+ // something other than an instruction; e.g., global variable
+ // initializers and constant expressions.
+ std::cerr << "UNSUPPORTED: Non-instruction is using an external "
+ << "function, " << F->getName() << "().\n";
abort();
}
}
More information about the llvm-commits
mailing list