mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[dsymutil] Remove old error/warn functions. NFC.
This removes the old error and warn functions that were still present in the dwarf linker. llvm-svn: 327400
This commit is contained in:
parent
42817263df
commit
2bd3f0ff21
@ -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…
x
Reference in New Issue
Block a user