Disable buildModule
authorChristoph Egger <Christoph.Egger@fau.de>
Wed, 25 Mar 2015 13:55:38 +0000 (14:55 +0100)
committerChristoph Egger <Christoph.Egger@fau.de>
Wed, 25 Mar 2015 13:55:38 +0000 (14:55 +0100)
seems unneeded for everything frida does and it makes opening arm files
die in an endless loop

src/disassembler/llvm/LLVMDisassembler.cxx

index 8ffb417cf1b8af09455d1181256fd457bcbd6891..45cd04e25566d97f830df05be7a00f42ffbe29a8 100644 (file)
@@ -178,7 +178,7 @@ LLVMDisassembler<ELFT>::LLVMDisassembler(const std::string& filename,
 
        std::unique_ptr<MCObjectDisassembler> OD(
                new MCObjectDisassembler(*o, *DisAsm, *MIA));
-       Mod.reset(OD->buildModule(false));
+       //Mod.reset(OD->buildModule(false));
 
        readSections();
 }