Displaying 2 results from an estimated 2 matches for "createcatchwrappedinvokefunct".
2012 Dec 13
2
[LLVMdev] Fwd: error while linking modules with exception handling demo code
...tmp, i32* %g
%"argument read1" = load i32* %bar
%read = load i32* %g
%"Code::Op::Mul" = mul i32 %"argument read1", %read
ret i32 %"Code::Op::Mul"
}
this is module Y, which is where foo2 is generated. When it is
supposed to invoke foo, i've placed
createCatchWrappedInvokeFunction(*module, *excptModule,
buildParameters.builder,
*buildParameters.getFunctionPassManager(),
*result, //result
is llvm::Function pointing to foo in module X...
2012 Nov 07
1
[LLVMdev] accessing personality and other exception related functions
...-project/llvm/trunk/examples/ExceptionDemo/ExceptionDemo.cpp?view=markup&sortby=file
) the function "ourPersonality" is defined. a llvm::Function is
created with the same name inside function
"createStandardUtilityFunctions". The llvm::Function is retrieved in
function "createCatchWrappedInvokeFunction". But nowhere i can find
where a mapping between the actual function address and this
llvm::Function is done, i was expecting to find some sort of
addGlobalMapping somewhere tying both ends, but i cannot find it.
So, my question is; is llvm::Module::getFunction resorting to some
local symb...