Made error message more comprehensible.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9299 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Misha Brukman 2003-10-20 19:43:47 +00:00
parent b576c94c15
commit 06ea151895

View File

@ -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();
}
}