[llvm] r327400 - [dsymutil] Remove old error/warn functions. NFC.
Jonas Devlieghere via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 13 07:28:08 PDT 2018
Author: jdevlieghere
Date: Tue Mar 13 07:28:07 2018
New Revision: 327400
URL: http://llvm.org/viewvc/llvm-project?rev=327400&view=rev
Log:
[dsymutil] Remove old error/warn functions. NFC.
This removes the old error and warn functions that were still present in
the dwarf linker.
Modified:
llvm/trunk/tools/dsymutil/DwarfLinker.cpp
Modified: llvm/trunk/tools/dsymutil/DwarfLinker.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/dsymutil/DwarfLinker.cpp?rev=327400&r1=327399&r2=327400&view=diff
==============================================================================
--- llvm/trunk/tools/dsymutil/DwarfLinker.cpp (original)
+++ llvm/trunk/tools/dsymutil/DwarfLinker.cpp Tue Mar 13 07:28:07 2018
@@ -4347,17 +4347,6 @@ bool DwarfLinker::link(const DebugMap &M
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);
More information about the llvm-commits
mailing list