Remove dead code.

llvm-svn: 291840
This commit is contained in:
Rui Ueyama 2017-01-12 22:03:25 +00:00
parent 1e307707b3
commit cec59f6f3c
2 changed files with 0 additions and 5 deletions

View File

@ -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

View File

@ -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.