Displaying 1 result from an estimated 1 matches for "mf_aid".
Did you mean:
afraid
2008 May 28
1
[LLVMdev] Asm output while executing
...rror, although I have no
clue on how to do it otherwise.
If generating the code for its asm output and then for jit execution I get:
**********
static llvm::MachineFunction& llvm::MachineFunction::construct(const
llvm::Function*, const llvm::TargetMachine&): Assertion
`Fn->getAnnotation(MF_AID) == 0 && "Object already exists for this
function!"' failed.
**********
The code I use:
/// The asm code output
std::string Err;
const llvm::TargetMachineRegistry::entry* MArch =
llvm::TargetMachineRegistry::getClosestStaticTargetForModule(*_mod...