Displaying 2 results from an estimated 2 matches for "metadatain".
Did you mean:
metadata
2013 Feb 27
2
[LLVMdev] llvm get globals definition line number
Hello,
I followed the
http://stackoverflow.com/questions/13852180/how-to-get-variable-definition-line-number-etc-using-dbg-metadatain
order to get the line number definition for local variables (allocas),
which works fine. But I need the same for globals. So I tried to hack the
`findDbgGlobalDeclare()` method from
http://llvm.org/docs/doxygen/html/DbgInfoPrinter_8cpp_source.html#l00062 .
However, I have no `llvm.dbg.gv` in my byt...
2013 Feb 27
0
[LLVMdev] llvm get globals definition line number
...and there is `!llvm.dbg.cu =
!{!0}` .
On Wed, Feb 27, 2013 at 11:35 AM, Alexandru Ionut Diaconescu <
alexandruionutdiaconescu at gmail.com> wrote:
> Hello,
>
> I followed the
> http://stackoverflow.com/questions/13852180/how-to-get-variable-definition-line-number-etc-using-dbg-metadatain order to get the line number definition for local variables (allocas),
> which works fine. But I need the same for globals. So I tried to hack the
> `findDbgGlobalDeclare()` method from
> http://llvm.org/docs/doxygen/html/DbgInfoPrinter_8cpp_source.html#l00062. However, I have no `llvm.dbg...