projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78d1910
)
Print "invalid mangled name" when we can't demangle something.
author
Zachary Turner
<zturner@google.com>
Tue, 21 Aug 2018 21:23:29 +0000
(21:23 +0000)
committer
Zachary Turner
<zturner@google.com>
Tue, 21 Aug 2018 21:23:29 +0000
(21:23 +0000)
llvm-svn: 340340
llvm/tools/llvm-objdump/COFFDump.cpp
patch
|
blob
|
history
diff --git
a/llvm/tools/llvm-objdump/COFFDump.cpp
b/llvm/tools/llvm-objdump/COFFDump.cpp
index
7a437b1
..
a67ff98
100644
(file)
--- a/
llvm/tools/llvm-objdump/COFFDump.cpp
+++ b/
llvm/tools/llvm-objdump/COFFDump.cpp
@@
-662,6
+662,8
@@
void llvm::printCOFFSymbolTable(const COFFObjectFile *coff) {
if (Status == 0 && DemangledSymbol) {
outs() << " (" << StringRef(DemangledSymbol) << ")";
std::free(DemangledSymbol);
+ } else {
+ outs() << " (invalid mangled name)";
}
}
outs() << "\n";