summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/CodeGeneratorBug.cpp
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-10-20 19:43:47 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-10-20 19:43:47 +0000
commit098cafd62b495e44422dcedc358b1a3f165148cc (patch)
treef2ac018a230e5dd0c2ed5b33b81745692a064207 /llvm/tools/bugpoint/CodeGeneratorBug.cpp
parent482202a601208cac2951cc6823c7c62bb0235f76 (diff)
downloadbcm5719-llvm-098cafd62b495e44422dcedc358b1a3f165148cc.tar.gz
bcm5719-llvm-098cafd62b495e44422dcedc358b1a3f165148cc.zip
Made error message more comprehensible.
llvm-svn: 9299
Diffstat (limited to 'llvm/tools/bugpoint/CodeGeneratorBug.cpp')
-rw-r--r--llvm/tools/bugpoint/CodeGeneratorBug.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/bugpoint/CodeGeneratorBug.cpp b/llvm/tools/bugpoint/CodeGeneratorBug.cpp
index e83ef118360..41df79a110a 100644
--- a/llvm/tools/bugpoint/CodeGeneratorBug.cpp
+++ b/llvm/tools/bugpoint/CodeGeneratorBug.cpp
@@ -167,7 +167,8 @@ bool ReduceMisCodegenFunctions::TestFuncs(const std::vector<Function*> &Funcs,
} 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 << "Non-instruction is using an external function!\n";
+ std::cerr <<
+ "UNSUPPORTED: External function used as global initializer!\n";
abort();
}
}
OpenPOWER on IntegriCloud