summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-xray
diff options
context:
space:
mode:
authorMichael Pozulp <pozulp.llvm@gmail.com>2019-07-30 07:05:27 +0000
committerMichael Pozulp <pozulp.llvm@gmail.com>2019-07-30 07:05:27 +0000
commit074db9b8e97aefbd7cd95f856dd1b06d3ec19fd1 (patch)
tree02d5f638ae230356c11cb082ec4a9ee06b5542a4 /llvm/tools/llvm-xray
parentf9108f76fa877926b9989d10aa08cd12c3bfdc5f (diff)
downloadbcm5719-llvm-074db9b8e97aefbd7cd95f856dd1b06d3ec19fd1.tar.gz
bcm5719-llvm-074db9b8e97aefbd7cd95f856dd1b06d3ec19fd1.zip
Revert "[llvm-objdump] Add warning messages if disassembly + source for problematic inputs"
This reverts r367284 (git commit b1cbe51bdf44098c74f5c74b7bcd8c041a7c6772). My changes to LLVMSymbolizer caused a test to fail: http://lab.llvm.org:8011/builders/clang-ppc64be-linux-lnt/builds/29488 llvm-svn: 367286
Diffstat (limited to 'llvm/tools/llvm-xray')
-rw-r--r--llvm/tools/llvm-xray/func-id-helper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-xray/func-id-helper.cpp b/llvm/tools/llvm-xray/func-id-helper.cpp
index afc912a6398..dc821a420c6 100644
--- a/llvm/tools/llvm-xray/func-id-helper.cpp
+++ b/llvm/tools/llvm-xray/func-id-helper.cpp
@@ -36,7 +36,7 @@ std::string FuncIdConversionHelper::SymbolOrNumber(int32_t FuncId) const {
ModuleAddress.SectionIndex = object::SectionedAddress::UndefSection;
if (auto ResOrErr = Symbolizer.symbolizeCode(BinaryInstrMap, ModuleAddress)) {
auto &DI = *ResOrErr;
- if (DI.FunctionName == DILineInfo::BadString)
+ if (DI.FunctionName == "<invalid>")
F << "@(" << std::hex << It->second << ")";
else
F << DI.FunctionName;
OpenPOWER on IntegriCloud