forked from OSchip/llvm-project
[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:
parent
11f32a41c2
commit
4f30a3d3d2
|
@ -374,7 +374,9 @@ Error FileAnalysis::initialiseDisassemblyMembers() {
|
||||||
MCPU = "";
|
MCPU = "";
|
||||||
std::string ErrorString;
|
std::string ErrorString;
|
||||||
|
|
||||||
Symbolizer.reset(new LLVMSymbolizer());
|
LLVMSymbolizer::Options Opt;
|
||||||
|
Opt.UseSymbolTable = false;
|
||||||
|
Symbolizer.reset(new LLVMSymbolizer(Opt));
|
||||||
|
|
||||||
ObjectTarget =
|
ObjectTarget =
|
||||||
TargetRegistry::lookupTarget(ArchName, ObjectTriple, ErrorString);
|
TargetRegistry::lookupTarget(ArchName, ObjectTriple, ErrorString);
|
||||||
|
|
Loading…
Reference in New Issue