Displaying 1 result from an estimated 1 matches for "check_pal".
2012 Aug 22
1
[LLVMdev] Insert Self Written Function Call from a FunctionPass?
Hello all;
So my goal is to insert some (self-written) function calls in the LLVM IR.
I can achieve it with a ModulePass and using the getOrInsertFunction()
call. For a ModulePass I follow the steps-
1. Compile the code (in which call instructions are to be inserted) to
LLVM IR
2. Compile the file (which contains the *called* external function ) to
LLVM IR
3. Link them together and run the