search for: writethunk

Displaying 2 results from an estimated 2 matches for "writethunk".

2014 Oct 12
2
[LLVMdev] Debug Info and MergeFunctions Transform
Hi David, After merging we always remove body of "G" (function we want to merge with "existing" one). In case with "writeThunk" we could add such info for "G", but it would be just a single string: reference to first string of "G". Ideal way here, is to merge debug information itself, and provide "F" with information for "G" and "F", but I think it's unreal :-( Si...
2014 Oct 07
2
[LLVMdev] Debug Info and MergeFunctions Transform
...he two and this probably comes out naturally (whichever name we choose to keep). I don't think we can have the debug info for one function reference a global alias, while the debug info for another function references the thing that alias refers to. So be it. But in the case of MergeFunctions::writeThunk we can probably do better - by updating the debug info for the thunk'd function so we at least describe this trivial function in the debug info. Does that sound about right? Could you provide any C/C++ source examples where MergeFunctions fires fairly reliably so I could play around with the...