forked from OSchip/llvm-project
parent
1e307707b3
commit
cec59f6f3c
|
@ -99,8 +99,4 @@ void elf::fatal(const Twine &Msg) {
|
|||
exitLld(1);
|
||||
}
|
||||
|
||||
void elf::fatal(std::error_code EC, const Twine &Prefix) {
|
||||
fatal(Prefix + ": " + EC.message());
|
||||
}
|
||||
|
||||
} // namespace lld
|
||||
|
|
|
@ -43,7 +43,6 @@ void error(std::error_code EC, const Twine &Prefix);
|
|||
|
||||
LLVM_ATTRIBUTE_NORETURN void exitLld(int Val);
|
||||
LLVM_ATTRIBUTE_NORETURN void fatal(const Twine &Msg);
|
||||
LLVM_ATTRIBUTE_NORETURN void fatal(std::error_code EC, const Twine &Prefix);
|
||||
|
||||
// check() functions are convenient functions to strip errors
|
||||
// from error-or-value objects.
|
||||
|
|
Loading…
Reference in New Issue