search for: dw_tag_auto_vari

Displaying 20 results from an estimated 27 matches for "dw_tag_auto_vari".

2010 Jul 14
2
[LLVMdev] Trying to access the user defined variable name
...uot;, metadata !2, i32 1, metadata !6} ; [ DW_TAG_arg_variable ] !8 = metadata !{i32 5, i32 4, metadata !9, null} !9 = metadata !{i32 524299, metadata !1, i32 2, i32 1} ; [ DW_TAG_lexical_block ] !10 = metadata !{i32 524544, metadata !9, metadata !"u", metadata !2, i32 3, metadata !6} ; [ DW_TAG_auto_variable ] !11 = metadata !{i32 7, i32 1, metadata !9, null} ****************************************************************** Llvm has replaced the name of the local variable (u) by a temporary name (%add). However, the debug information contains the information about the original variable name. ***...
2010 Jul 15
0
[LLVMdev] Trying to access the user defined variable name
...metadata !6} ; [ DW_TAG_arg_variable ] > !8 = metadata !{i32 5, i32 4, metadata !9, null} > !9 = metadata !{i32 524299, metadata !1, i32 2, i32 1} ; [ > DW_TAG_lexical_block ] !10 = metadata !{i32 524544, metadata !9, > metadata !"u", metadata !2, i32 3, metadata !6} ; [ > DW_TAG_auto_variable ] > !11 = metadata !{i32 7, i32 1, metadata !9, null} > ****************************************************************** > > Llvm has replaced the name of the local variable (u) by a temporary > name (%add). However, the debug information contains the information > about the...
2015 Apr 29
2
[LLVMdev] Assertion failure (Bug 21609) in DwarfFile.cpp
...signed] -!10 = !{!"0x101\00p\0016777217\000", !5, !6, !9} ; [ DW_TAG_arg_variable ] [p] [line 1] +!10 = !{!"0x101\00p\001\001\000", !5, !6, !9} ; [ DW_TAG_arg_variable ] [p] [line 1] !11 = !MDLocation(line: 1, scope: !5) -!12 = !{!"0x100\00r\002\000", !13, !6, !9} ; [ DW_TAG_auto_variable ] [r] [line 2] +!12 = !{!"0x100\00r\002\000\000", !13, !6, !9} ; [ DW_TAG_auto_variable ] [r] [line 2] Before I spend cycles updating the test cases, I wanted get a 'go ahead' from code owners. Please let me know. Thanks, Sandeep
2010 Apr 26
0
[LLVMdev] Does llvm-gcc emit column # info?
...* %Y, !dbg !17 ; <i32> [#uses=1] store i32 %tmp2, i32* %X, !dbg !17 ret void, !dbg !18 } declare void @llvm.dbg.declare({ }*, metadata) nounwind readnone !0 = metadata !{i32 459008, metadata !1, metadata !"X", metadata !3, i32 2, metadata !6}; [ DW_TAG_auto_variable ] !1 = metadata !{i32 458763, metadata !2}; [DW_TAG_lexical_block ] !2 = metadata !{i32 458798, i32 0, metadata !3, metadata !"foo", metadata !"foo", metadata !"foo", metadata !3, i32 1, metadata !4, i1 false, i1 true}; [DW_TAG_subpr...
2010 Jul 15
2
[LLVMdev] Trying to access the user defined variable name
...d parameter is of type "metadata". So I was able to access it by casting it to MDNode. After that, I am assuming that it gives me a handle to the metadata represented as "!10" !10 = metadata !{i32 524544, metadata !9, metadata !"u", metadata !2, i32 3, metadata !6} ; [DW_TAG_auto_variable ] >From here, I am trying invain to access the variable name. Is there something wrong in my approach? I feel that I have not understood the method to access metadata in llvm. Thanks Regards Arvind On Thu, Jul 15, 2010 at 2:07 PM, Devang Patel <devang.patel at gmail.com> wrote: &gt...
2010 Apr 26
3
[LLVMdev] Does llvm-gcc emit column # info?
Hi, I tried llvm-gcc -g -O0 on several cases, but the column field of meta data always shows zero in created ll code. Does llvm-gcc emit column # info ? Or I should add some option? Thanks in advance. Sheng. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100426/76b52b1f/attachment.html>
2015 Apr 29
2
[LLVMdev] Assertion failure (Bug 21609) in DwarfFile.cpp
...000", !5, !6, !9} ; [ >> DW_TAG_arg_variable ] [p] [line 1] >> +!10 = !{!"0x101\00p\001\001\000", !5, !6, !9} ; [ DW_TAG_arg_variable >> ] [p] [line 1] >> !11 = !MDLocation(line: 1, scope: !5) >> -!12 = !{!"0x100\00r\002\000", !13, !6, !9} ; [ DW_TAG_auto_variable ] >> [r] [line 2] >> +!12 = !{!"0x100\00r\002\000\000", !13, !6, !9} ; [ >> DW_TAG_auto_variable ] [r] [line 2] >> >> Before I spend cycles updating the test cases, I wanted get a 'go >> ahead' from code owners. >> >> Please let...
2012 Mar 02
2
[LLVMdev] Question on debug information
...tadata !{i32 590081, metadata !3, metadata !"n", metadata !1, i32 50331648, metadata !7, i32 0} ; DW_TAG_arg_variable !12 = metadata !{i32 9, i32 0, metadata !5, null} !13 = metadata !{i32 590080, metadata !5, metadata !"tests_passed", metadata !1, i32 0, metadata !7, i32 0} ; DW_TAG_auto_variable !14 = metadata !{i32 10, i32 0, metadata !5, null} !15 = metadata !{i32 590080, metadata !5, metadata !"tests_failed", metadata !1, i32 0, metadata !7, i32 0} ; DW_TAG_auto_variable !16 = metadata !{i32 12, i32 0, metadata !5, null} !17 = metadata !{i32 590080, metadata !5, metada...
2012 Mar 06
0
[LLVMdev] Question on debug information
...metadata !3, metadata !"n", metadata !1, i32 > 50331648, metadata !7, i32 0} ; DW_TAG_arg_variable > !12 = metadata !{i32 9, i32 0, metadata !5, null} > !13 = metadata !{i32 590080, metadata !5, metadata !"tests_passed", > metadata !1, i32 0, metadata !7, i32 0} ; DW_TAG_auto_variable > !14 = metadata !{i32 10, i32 0, metadata !5, null} > !15 = metadata !{i32 590080, metadata !5, metadata !"tests_failed", > metadata !1, i32 0, metadata !7, i32 0} ; DW_TAG_auto_variable > !16 = metadata !{i32 12, i32 0, metadata !5, null} > !17 = metadata !{i32 59...
2012 Mar 06
2
[LLVMdev] Question on debug information
...2 590081, metadata !3, metadata !"n", metadata !1, i32 50331648, metadata !7, i32 0} ; DW_TAG_arg_variable > !12 = metadata !{i32 9, i32 0, metadata !5, null} > !13 = metadata !{i32 590080, metadata !5, metadata !"tests_passed", metadata !1, i32 0, metadata !7, i32 0} ; DW_TAG_auto_variable > !14 = metadata !{i32 10, i32 0, metadata !5, null} > !15 = metadata !{i32 590080, metadata !5, metadata !"tests_failed", metadata !1, i32 0, metadata !7, i32 0} ; DW_TAG_auto_variable > !16 = metadata !{i32 12, i32 0, metadata !5, null} > !17 = metadata !{i32 59008...
2013 Mar 20
2
[LLVMdev] Debug Info Documentation State
...e (compiler written in Scala, outputs .ll files), but I found it really hard to do based on the documentation provided at http://llvm.org/docs/SourceLevelDebugging.html (I looked at the specific doc for LLVM 3.0 though) With LLVM 3.0, DI version 8 (which is documented there) seemed to work, except DW_TAG_auto_variable for which I used version tag 11 and imitated what clang was doing. Got that working for simple programs, but now I switched to LLVM 3.2 and that debug info doesn't work any more. My best bet seems to be looking at how Clang/LLVM does it internally. PS. For anyone else looking for this, li...
2010 Jul 15
0
[LLVMdev] Trying to access the user defined variable name
...metadata". > So I was able to access it by casting it to MDNode. After that, I am > assuming that it gives me a handle to the metadata represented as > "!10" > > !10 = metadata !{i32 524544, metadata !9, metadata !"u", metadata !2, > i32 3, metadata !6} ; [DW_TAG_auto_variable ] > > From here, I am trying invain to access the variable name. > Is there something wrong in my approach? I feel that I have not > understood the method to access metadata in llvm. > Use DIVariable from DebugInfo.h to access fields of MDNode that is holding variable's info...
2011 Dec 29
2
[LLVMdev] DW_AT_location not getting generated for local variables
...720932, null, metadata !"Int32", null, i32 0, i64 32, i64 32, i64 0, i32 0, i32 5} ; [ DW_TAG_base_type ] !11 = metadata !{metadata !12} !12 = metadata !{metadata !13} !13 = metadata !{i32 721152, metadata !14, metadata !"bar", metadata !7, i32 2, metadata !10, i32 0, i32 0} ; [ DW_TAG_auto_variable ] !14 = metadata !{i32 720907, metadata !15, i32 1, i32 1, metadata !7, i32 1} ; [ DW_TAG_lexical_block ] !15 = metadata !{i32 720907, metadata !5, i32 1, i32 1, metadata !7, i32 0} ; [ DW_TAG_lexical_block ] !16 = metadata !{i32 2, i32 2, metadata !14, null} !17 = metadata !{i32 3, i32 3, meta...
2012 Jan 02
0
[LLVMdev] DW_AT_location not getting generated for local variables
...quot;Int32", null, i32 0, i64 32, > i64 32, i64 0, i32 0, i32 5} ; [ DW_TAG_base_type ] > !11 = metadata !{metadata !12} > !12 = metadata !{metadata !13} > !13 = metadata !{i32 721152, metadata !14, metadata !"bar", metadata !7, i32 > 2, metadata !10, i32 0, i32 0} ; [ DW_TAG_auto_variable ] > !14 = metadata !{i32 720907, metadata !15, i32 1, i32 1, metadata !7, i32 1} > ; [ DW_TAG_lexical_block ] > !15 = metadata !{i32 720907, metadata !5, i32 1, i32 1, metadata !7, i32 0} > ; [ DW_TAG_lexical_block ] > !16 = metadata !{i32 2, i32 2, metadata !14, null} > !17 =...
2012 Mar 07
0
[LLVMdev] Question on debug information
...tadata !"n", metadata !1, >> i32 50331648, metadata !7, i32 0} ; DW_TAG_arg_variable >> !12 = metadata !{i32 9, i32 0, metadata !5, null} >> !13 = metadata !{i32 590080, metadata !5, metadata !"tests_passed", >> metadata !1, i32 0, metadata !7, i32 0} ; DW_TAG_auto_variable >> !14 = metadata !{i32 10, i32 0, metadata !5, null} >> !15 = metadata !{i32 590080, metadata !5, metadata !"tests_failed", >> metadata !1, i32 0, metadata !7, i32 0} ; DW_TAG_auto_variable >> !16 = metadata !{i32 12, i32 0, metadata !5, null} >> !17...
2012 Jul 27
2
[LLVMdev] llvm dwarf debug info for locals with llvm.dbg.define
...routine_type ] !8 = metadata !{metadata !9} !9 = metadata !{i32 786468, null, metadata !"int", null, i32 0, i64 32, i64 32, i64 0, i32 0, i32 5} ; [ DW_TAG_base_type ] !10 = metadata !{i32 786688, metadata !11, metadata !"b", metadata !6, i32 10, metadata !9, i32 0, i32 0} ; [ DW_TAG_auto_variable ] !11 = metadata !{i32 786443, metadata !12, i32 10, i32 1, metadata !6, i32 1} ; [ DW_TAG_lexical_block ] !12 = metadata !{i32 786443, metadata !5, i32 10, i32 1, metadata !6, i32 0} ; [ DW_TAG_lexical_block ] !13 = metadata !{i32 786688, metadata !11, metadata !"Result", metadata...
2013 Mar 20
0
[LLVMdev] Debug Info Documentation State
...Scala, > outputs .ll files), but I found it really hard to do based on the > documentation provided at http://llvm.org/docs/SourceLevelDebugging.html(I looked at the specific doc for LLVM 3.0 though) > > With LLVM 3.0, DI version 8 (which is documented there) seemed to work, > except DW_TAG_auto_variable for which I used version tag 11 and imitated > what clang was doing. > > Got that working for simple programs, but now I switched to LLVM 3.2 and > that debug info doesn't work any more. My best bet seems to be looking at > how Clang/LLVM does it internally. > > PS. For...
2013 Mar 20
1
[LLVMdev] Debug Info Documentation State
...uts .ll files), but I found it really hard to do based on the >> documentation provided at http://llvm.org/docs/SourceLevelDebugging.html(I looked at the specific doc for LLVM 3.0 though) >> >> With LLVM 3.0, DI version 8 (which is documented there) seemed to work, >> except DW_TAG_auto_variable for which I used version tag 11 and imitated >> what clang was doing. >> >> Got that working for simple programs, but now I switched to LLVM 3.2 and >> that debug info doesn't work any more. My best bet seems to be looking at >> how Clang/LLVM does it internall...
2011 Apr 30
2
[LLVMdev] DWARF not being generated for local variable, though MD looks right(?)
...uot;-g", i32 0} ; [ DW_TAG_compile_unit ] !3 = metadata !{i32 589860, metadata !2, metadata !"int32", null, i32 0, i64 32, i64 32, i64 0, i32 0, i32 5} ; [ DW_TAG_base_type ] !4 = metadata !{i32 590080, metadata !5, metadata !"y", metadata !1, i32 5, metadata !3, i32 0} ; [ DW_TAG_auto_variable ] !5 = metadata !{i32 589835, metadata !0, i32 4, i32 0, metadata !1, i32 0} ; [ DW_TAG_lexical_block ] !6 = metadata !{i32 1234} !7 = metadata !{i32 5, i32 0, metadata !5, null} However, if I run dwarfdump on the object file, there's nothing there for the variable 'y' (see below)....
2011 Aug 16
1
[LLVMdev] Missing metadata for volatile variables
...a !{i32 589860, metadata !1, metadata !"int", metadata !1, i32 0, i64 32, i64 32, i64 0, i32 0, i32 5} ; [ DW_TAG_base_type ] !6 = metadata !{i32 1, i32 0, metadata !0, null} !7 = metadata !{i32 590080, metadata !0, metadata !"memtmp", metadata !1, i32 2, metadata !8, i32 0} ; [ DW_TAG_auto_variable ] !8 = metadata !{i32 589877, metadata !1, metadata !"", metadata !1, i32 0, i64 32, i64 32, i64 0, i32 0, metadata !5} ; [ DW_TAG_volatile_type ] !9 = metadata !{i32 2, i32 0, metadata !0, null} !10 = metadata !{i32 3, i32 0, metadata !0, null} !11 = metadata !{i32 4, i32 0, metadata...