projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cb7004
)
add an assert to get a slightly better msg about this problem
author
Chris Lattner
<sabre@nondot.org>
Thu, 16 Mar 2006 23:16:17 +0000
(23:16 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 16 Mar 2006 23:16:17 +0000
(23:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26812
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/bugpoint/CrashDebugger.cpp
patch
|
blob
|
history
diff --git
a/tools/bugpoint/CrashDebugger.cpp
b/tools/bugpoint/CrashDebugger.cpp
index 85e2a89504d8bef347aa3129ecbba3dc53ec5b00..53b15800aedc02a1c6424e68705c88776f9f24cb 100644
(file)
--- a/
tools/bugpoint/CrashDebugger.cpp
+++ b/
tools/bugpoint/CrashDebugger.cpp
@@
-128,6
+128,9
@@
bool ReduceCrashingFunctions::TestFuncs(std::vector<Function*> &Funcs) {
// Convert list to set for fast lookup...
std::set<Function*> Functions;
for (unsigned i = 0, e = Funcs.size(); i != e; ++i) {
+ // FIXME: bugpoint should add names to all stripped symbols.
+ assert(!Funcs[i]->getName().empty() &&
+ "Bugpoint doesn't work on stripped modules yet PR718!");
Function *CMF = M->getFunction(Funcs[i]->getName(),
Funcs[i]->getFunctionType());
assert(CMF && "Function not in module?!");