search for: example_llvm

Displaying 3 results from an estimated 3 matches for "example_llvm".

2010 Oct 13
0
[LLVMdev] Possibility of Corruption of debug metadata
On Oct 12, 2010, at 4:28 PM, shankha <shankhabanerjee at gmail.com> wrote: > Hi, > If I convert global variables to thread-local variables or vice versa > at the IR stage do I have to take care of the debug metadata. If you provide an small concrete example then it would help, Devang > I looked at the IR generated and I couldn't find any difference > between the debug
2010 Oct 12
2
[LLVMdev] Possibility of Corruption of debug metadata
Hi, If I convert global variables to thread-local variables or vice versa at the IR stage do I have to take care of the debug metadata. I looked at the IR generated and I couldn't find any difference between the debug metadata generated for global variables and thread-local variables. -- Thanks Shankha
2010 Oct 13
2
[LLVMdev] Possibility of Corruption of debug metadata
Hi Devang, I convert all global variables in a file to thread local at the IR level. i.e. compile example_llvm.c to IR example_llvm.ll and change global variables to thread-local variables. I also insert a function call just before access of the global(now thread-local) variable. I also insert a local variable in main. Does these operations in any way effect the debug metadata ? I do not face any issues d...