import-trace: compile with LLVM 3.3
This was necessary because LLVM 3.1's ELFObjectFile<ELFT>::sectionContainsSymbolsectionContainsSymbol() (needed for proper functioning of our LLVM disassembler, unless you're using -ffunction-sections) is "unimplemented". Change-Id: I81112627ebd1c92b718ac6f4ed58d7f188aedf0c
This commit is contained in:
@ -24,7 +24,7 @@ bool InstructionImporter::handle_ip_event(fail::simtime_t curtime, instruction_c
|
||||
return false;
|
||||
}
|
||||
|
||||
ObjectFile *obj = dyn_cast<ObjectFile>(binary.get());
|
||||
ObjectFile *obj = dyn_cast<ObjectFile, Binary>(binary.get());
|
||||
|
||||
disas.reset(new LLVMDisassembler(obj));
|
||||
disas->disassemble();
|
||||
|
||||
@ -70,7 +70,7 @@ bool RandomJumpImporter::handle_ip_event(fail::simtime_t curtime, instruction_co
|
||||
return false;
|
||||
}
|
||||
|
||||
ObjectFile *obj = dyn_cast<ObjectFile>(binary.get());
|
||||
ObjectFile *obj = dyn_cast<ObjectFile, Binary>(binary.get());
|
||||
|
||||
disas.reset(new LLVMDisassembler(obj));
|
||||
disas->disassemble();
|
||||
|
||||
@ -108,7 +108,7 @@ bool RegisterImporter::handle_ip_event(fail::simtime_t curtime, instruction_coun
|
||||
return false;
|
||||
}
|
||||
|
||||
ObjectFile *obj = dyn_cast<ObjectFile>(binary.get());
|
||||
ObjectFile *obj = dyn_cast<ObjectFile, Binary>(binary.get());
|
||||
|
||||
disas.reset(new LLVMDisassembler(obj));
|
||||
disas->disassemble();
|
||||
|
||||
Reference in New Issue
Block a user