search for: 5ffcc51d

Displaying 1 result from an estimated 1 matches for "5ffcc51d".

2015 May 31
1
[LLVMdev] how to get an independent copy of a function?
Hi, I need to get a copy of a function which should be 'selfcontained' (independent from the original function). Just like in C making a copy of a functions source code, changing the name. I tried to copy the basic blocks and their instructions (clone) to a new function, but the module check gives 'referring to an argument in another function'. This seems obvious, because