mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-24 12:55:45 +00:00
Made error message more comprehensible.
llvm-svn: 9299
This commit is contained in:
parent
b402729b30
commit
4303b02f66
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user