mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-07 12:30:57 +00:00
[dsymutil] Remove old error/warn functions. NFC.
This removes the old error and warn functions that were still present in the dwarf linker. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327400 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b936520052
commit
10e112323e
@ -4347,17 +4347,6 @@ bool DwarfLinker::link(const DebugMap &Map) {
|
||||
return Options.NoOutput ? true : Streamer->finish(Map);
|
||||
}
|
||||
|
||||
void warn(const Twine &Warning, const Twine &Context) {
|
||||
errs() << Twine("while processing ") + Context + ":\n";
|
||||
errs() << Twine("warning: ") + Warning + "\n";
|
||||
}
|
||||
|
||||
bool error(const Twine &Error, const Twine &Context) {
|
||||
errs() << Twine("while processing ") + Context + ":\n";
|
||||
errs() << Twine("error: ") + Error + "\n";
|
||||
return false;
|
||||
}
|
||||
|
||||
bool linkDwarf(raw_fd_ostream &OutFile, const DebugMap &DM,
|
||||
const LinkOptions &Options) {
|
||||
DwarfLinker Linker(OutFile, Options);
|
||||
|
Loading…
Reference in New Issue
Block a user