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:
Horst Schirmeier
2013-07-08 18:49:47 +02:00
parent 760353fb97
commit 52322ac7b9
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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