[llvm] r340340 - Print "invalid mangled name" when we can't demangle something.
Zachary Turner via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 21 14:23:29 PDT 2018
Author: zturner
Date: Tue Aug 21 14:23:29 2018
New Revision: 340340
URL: http://llvm.org/viewvc/llvm-project?rev=340340&view=rev
Log:
Print "invalid mangled name" when we can't demangle something.
Modified:
llvm/trunk/tools/llvm-objdump/COFFDump.cpp
Modified: llvm/trunk/tools/llvm-objdump/COFFDump.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-objdump/COFFDump.cpp?rev=340340&r1=340339&r2=340340&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-objdump/COFFDump.cpp (original)
+++ llvm/trunk/tools/llvm-objdump/COFFDump.cpp Tue Aug 21 14:23:29 2018
@@ -662,6 +662,8 @@ void llvm::printCOFFSymbolTable(const CO
if (Status == 0 && DemangledSymbol) {
outs() << " (" << StringRef(DemangledSymbol) << ")";
std::free(DemangledSymbol);
+ } else {
+ outs() << " (invalid mangled name)";
}
}
outs() << "\n";
More information about the llvm-commits
mailing list