1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 10:32:48 +02:00

[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.
This commit is contained in:
Fangrui Song 2021-02-10 09:44:13 -08:00
parent 6523da3123
commit 7ed6695b16

View File

@ -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);