diff options
author | Fangrui Song <i@maskray.me> | 2021-02-10 09:44:13 -0800 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2021-02-10 09:44:13 -0800 |
commit | 4f30a3d3d26d55c0701dc56dde711667320fdd30 (patch) | |
tree | 418b6766f0bc599cfc9f61b4eff49424698a9d54 /llvm/tools/llvm-cfi-verify | |
parent | 11f32a41c2144aeec80d1dce8cc6908fa91794a3 (diff) | |
download | llvm-4f30a3d3d26d55c0701dc56dde711667320fdd30.zip llvm-4f30a3d3d26d55c0701dc56dde711667320fdd30.tar.gz llvm-4f30a3d3d26d55c0701dc56dde711667320fdd30.tar.bz2 |
[llvm-cfi-verify] Set UseSymbolTable to false
parseSectionContents expects to skip regions not described by DWARF. With my
pending DebugInfo/Symbolize change, the filename can be recovered and there
will be more IndirectInstructions entries.
Diffstat (limited to 'llvm/tools/llvm-cfi-verify')
-rw-r--r-- | llvm/tools/llvm-cfi-verify/lib/FileAnalysis.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/tools/llvm-cfi-verify/lib/FileAnalysis.cpp b/llvm/tools/llvm-cfi-verify/lib/FileAnalysis.cpp index 100f5d8..8503112 100644 --- a/llvm/tools/llvm-cfi-verify/lib/FileAnalysis.cpp +++ b/llvm/tools/llvm-cfi-verify/lib/FileAnalysis.cpp @@ -374,7 +374,9 @@ Error FileAnalysis::initialiseDisassemblyMembers() { MCPU = ""; std::string ErrorString; - Symbolizer.reset(new LLVMSymbolizer()); + LLVMSymbolizer::Options Opt; + Opt.UseSymbolTable = false; + Symbolizer.reset(new LLVMSymbolizer(Opt)); ObjectTarget = TargetRegistry::lookupTarget(ArchName, ObjectTriple, ErrorString); |