Displaying 2 results from an estimated 2 matches for "e9be5724".
2013 Feb 27
0
[LLVMdev] llvm get globals definition line number
....
> %a = alloca i32, align 4
> %1 = load i32* %a, align 4, !dbg !939
>
> Thank you !
--
Best regards,
Alexandru Ionut Diaconescu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130227/e9be5724/attachment.html>
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,