search for: cloneorigfunc

Displaying 1 result from an estimated 1 matches for "cloneorigfunc".

2013 Mar 17
0
[LLVMdev] Problem with executing recompileAndRelinkFunction successively
...the function, but after that, the original function definition is lost. And if I try to recompile, it recompiles with the new function definition. I figured out two workarounds but they don't work. 1. Clone function i. Before starting the program, make a clone of the function, lets call it CloneOrigFunc. ii. When the function definition has to be modified, first make a clone of CloneOrigFunc, and then replace the function call with a call to the new clone. 2. Clone BasicBlocks i. Before starting the program, make a clone of the function, lets call it CloneOrigFunc. ii. When the function...