search for: dw_tag_arg_vari

Displaying 20 results from an estimated 20 matches for "dw_tag_arg_vari".

2015 Jun 01
2
[LLVMdev] Debug info for lazy variables triggers SROA assertion
...LbZv({ i8*, i1 (i8*)* } %val_arg) #0 { %val = alloca { i8*, i1 (i8*)* }, align 8 store { i8*, i1 (i8*)* } %val_arg, { i8*, i1 (i8*)* }* %val, !dbg !18 call void @llvm.dbg.declare(metadata { i8*, i1 (i8*)* }* %val, metadata !11, metadata !19), !dbg !18 ... } !11 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "val", arg: 0, scope: !6, file: !4, line: 1, type: !12) !12 = !DIBasicType(name: "bool", size: 1, align: 8, encoding: DW_ATE_boolean) The attached debug info says that val is of type bool (that's the view of the user). But it is represented by a structure cont...
2015 Apr 29
2
[LLVMdev] Assertion failure (Bug 21609) in DwarfFile.cpp
..._subroutine_type ] [line 0, size 0, align 0, offset 0] [from ] !8 = !{!9, !9} !9 = !{!"0x24\00int\000\0032\0032\000\000\005", null, null} ; [ DW_TAG_base_type ] [int] [line 0, size 32, align 32, offset 0, enc DW_ATE_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, !...
2015 Apr 29
2
[LLVMdev] Assertion failure (Bug 21609) in DwarfFile.cpp
...[from ] >> !8 = !{!9, !9} >> !9 = !{!"0x24\00int\000\0032\0032\000\000\005", null, null} ; [ >> DW_TAG_base_type ] [int] [line 0, size 32, align 32, offset 0, enc >> DW_ATE_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] >&g...
2010 Jul 14
2
[LLVMdev] Trying to access the user defined variable name
...0, metadata !10), !dbg !8 ret i32 %add, !dbg !11 } declare void @llvm.dbg.declare(metadata, metadata) nounwind readnone declare void @llvm.dbg.value(metadata, i64, metadata) nounwind readnone !0 = metadata !{i32 524545, metadata !1, metadata !"x", metadata !2, i32 1, metadata !6} ; [ DW_TAG_arg_variable ] !1 = metadata !{i32 524334, i32 0, metadata !2, metadata !"f", metadata !"f", metadata !"f", metadata !2, i32 2, metadata !4, i1 false, i1 true, i32 0, i32 0, null, i1 false, i1 false} ; [ DW_TAG_subprogram ] !2 = metadata !{i32 524329, metadata !"testadd.c&...
2010 May 13
4
[LLVMdev] How to get the variable mapping between the source and llvm bytecode
...; preds = %entry %retval1 = load i32* %retval, !dbg !12 ; <i32> [#uses=1] ret i32 %retval1, !dbg !12 } declare void @llvm.dbg.declare(metadata, metadata) nounwind readnone !0 = metadata !{i32 459009, metadata !1, metadata !"j", metadata !2, i32 1, metadata !5} ; [ DW_TAG_arg_variable ] !1 = metadata !{i32 458798, i32 0, metadata !2, metadata !"h", metadata !"h", metadata !"h", metadata !2, i32 1, metadata !3, i1 false, i1 true, i32 0, i32 0, null, i1 false} ; [ DW_TAG_subprogram ] !2 = metadata !{i32 458769, i32 0, i32 1, metadata !"simple...
2012 Mar 02
2
[LLVMdev] Question on debug information
..., i32 0, i32 5} ; DW_TAG_base_type !8 = metadata !{i32 589839, metadata !0, metadata !"", null, i32 0, i64 32, i64 32, i64 0, i32 0, metadata !7} ; DW_TAG_pointer_type !9 = metadata !{i32 590081, metadata !3, metadata !"result", metadata !1, i32 16777216, metadata !8, i32 0} ; DW_TAG_arg_variable !10 = metadata !{i32 590081, metadata !3, metadata !"expect", metadata !1, i32 33554432, metadata !8, i32 0} ; DW_TAG_arg_variable !11 = metadata !{i32 590081, metadata !3, metadata !"n", metadata !1, i32 50331648, metadata !7, i32 0} ; DW_TAG_arg_variable !12 = metadata...
2010 Jul 15
0
[LLVMdev] Trying to access the user defined variable name
...add, !dbg !11 > } > > declare void @llvm.dbg.declare(metadata, metadata) nounwind readnone > > declare void @llvm.dbg.value(metadata, i64, metadata) nounwind readnone > > !0 = metadata !{i32 524545, metadata !1, metadata !"x", metadata !2, > i32 1, metadata !6} ; [ DW_TAG_arg_variable ] > !1 = metadata !{i32 524334, i32 0, metadata !2, metadata !"f", > metadata !"f", metadata !"f", metadata !2, i32 2, metadata !4, i1 > false, i1 true, i32 0, i32 0, null, i1 false, i1 false} ; [ > DW_TAG_subprogram ] > !2 = metadata !{i32 524329, m...
2012 Mar 06
0
[LLVMdev] Question on debug information
..._TAG_base_type > !8 = metadata !{i32 589839, metadata !0, metadata !"", null, i32 0, i64 > 32, i64 32, i64 0, i32 0, metadata !7} ; DW_TAG_pointer_type > !9 = metadata !{i32 590081, metadata !3, metadata !"result", metadata !1, > i32 16777216, metadata !8, i32 0} ; DW_TAG_arg_variable > !10 = metadata !{i32 590081, metadata !3, metadata !"expect", metadata > !1, i32 33554432, metadata !8, i32 0} ; DW_TAG_arg_variable > !11 = metadata !{i32 590081, metadata !3, metadata !"n", metadata !1, i32 > 50331648, metadata !7, i32 0} ; DW_TAG_arg_varia...
2012 Mar 06
2
[LLVMdev] Question on debug information
...32 5} ; DW_TAG_base_type > !8 = metadata !{i32 589839, metadata !0, metadata !"", null, i32 0, i64 32, i64 32, i64 0, i32 0, metadata !7} ; DW_TAG_pointer_type > !9 = metadata !{i32 590081, metadata !3, metadata !"result", metadata !1, i32 16777216, metadata !8, i32 0} ; DW_TAG_arg_variable > !10 = metadata !{i32 590081, metadata !3, metadata !"expect", metadata !1, i32 33554432, metadata !8, i32 0} ; DW_TAG_arg_variable > !11 = metadata !{i32 590081, metadata !3, metadata !"n", metadata !1, i32 50331648, metadata !7, i32 0} ; DW_TAG_arg_variable > !...
2010 May 13
0
[LLVMdev] How to get the variable mapping between the source andllvm bytecode
...t; %retval1 = load i32* %retval, !dbg !12 ; <i32> [#uses=1] > ret i32 %retval1, !dbg !12 > } > declare void @llvm.dbg.declare(metadata, metadata) nounwind readnone > !0 = metadata !{i32 459009, metadata !1, metadata !"j", metadata !2, i32 1, metadata !5} ; [ DW_TAG_arg_variable ] > !1 = metadata !{i32 458798, i32 0, metadata !2, metadata !"h", metadata !"h", metadata !"h", metadata !2, i32 1, metadata !3, i1 false, i1 true, i32 0, i32 0, null, i1 false} ; [ DW_TAG_subprogram ] > !2 = metadata !{i32 458769, i32 0, i32 1, metadata !&q...
2014 Feb 02
3
[LLVMdev] Why variables get "optimized away" after the last use in unoptimized code?
...> Looking at the debug records, I don't see what is wrong, for example: call void @llvm.dbg.declare(metadata !{%struct.Object* %1}, metadata !73), !dbg !74 !73 = metadata !{i32 786689, metadata !63, metadata !"this", metadata !68, i32 33554949, metadata !12, i32 0, i32 0} ; [ DW_TAG_arg_variable ] [this] [line 517] !63 is DW_TAG_subprogram scope. 'this' should exist through this subprogram, and never disappear. But it becomes "optimized away" after the last explicit use. Same is true with any other variable. Doesn't this mean that llvm generates wrong DWARF in...
2012 Mar 07
0
[LLVMdev] Question on debug information
...gt;> !8 = metadata !{i32 589839, metadata !0, metadata !"", null, i32 0, i64 >> 32, i64 32, i64 0, i32 0, metadata !7} ; DW_TAG_pointer_type >> !9 = metadata !{i32 590081, metadata !3, metadata !"result", metadata >> !1, i32 16777216, metadata !8, i32 0} ; DW_TAG_arg_variable >> !10 = metadata !{i32 590081, metadata !3, metadata !"expect", metadata >> !1, i32 33554432, metadata !8, i32 0} ; DW_TAG_arg_variable >> !11 = metadata !{i32 590081, metadata !3, metadata !"n", metadata !1, >> i32 50331648, metadata !7, i32 0} ;...
2010 May 14
2
[LLVMdev] How to get the variable mapping between the sourceandllvm bytecode
...load i32* %retval, !dbg !12 ; <i32> [#uses=1] >> ret i32 %retval1, !dbg !12 >> } >> declare void @llvm.dbg.declare(metadata, metadata) nounwind readnone >> !0 = metadata !{i32 459009, metadata !1, metadata !"j", metadata !2, i32 1, metadata !5} ; [ DW_TAG_arg_variable ] >> !1 = metadata !{i32 458798, i32 0, metadata !2, metadata !"h", metadata !"h", metadata !"h", metadata !2, i32 1, metadata !3, i1 false, i1 true, i32 0, i32 0, null, i1 false} ; [ DW_TAG_subprogram ] >> !2 = metadata !{i32 458769, i32 0, i32 1, meta...
2010 Jul 15
2
[LLVMdev] Trying to access the user defined variable name
...; >> declare void @llvm.dbg.declare(metadata, metadata) nounwind readnone >> >> declare void @llvm.dbg.value(metadata, i64, metadata) nounwind readnone >> >> !0 = metadata !{i32 524545, metadata !1, metadata !"x", metadata !2, >> i32 1, metadata !6} ; [ DW_TAG_arg_variable ] >> !1 = metadata !{i32 524334, i32 0, metadata !2, metadata !"f", >> metadata !"f", metadata !"f", metadata !2, i32 2, metadata !4, i1 >> false, i1 true, i32 0, i32 0, null, i1 false, i1 false} ; [ >> DW_TAG_subprogram ] >> !2 = meta...
2011 Jan 06
0
[LLVMdev] Null address pointer in llvm.dbg.declare
...loca float, align 4 %retval = alloca i32 %0 = alloca i32 %"alloca point" = bitcast i32 0 to i32 call void @llvm.dbg.declare(metadata !{i32* %a_addr}, metadata !8), ! dbg !9 ... !8 = metadata !{i32 524545, metadata !4, metadata !"a", metadata !1, i32 3, metadata !3} ; [ DW_TAG_arg_variable ] .... Best regards, Jacob -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110106/...
2012 Jan 16
2
[LLVMdev] Need more information on llvm.dbg.value call
...{i32 589845, metadata !1, metadata !"", metadata !1, i32 0, i64 0, i64 0, i32 0, i32 0, i32 0, metadata !4, i32 0, i32 0} ; [ DW_TAG_subroutine_type ] !4 = metadata !{null} !5 = metadata !{i32 590081, metadata !0, metadata !"y", metadata !1, i32 16777220, metadata !6, i32 0} ; [ DW_TAG_arg_variable ] !6 = metadata !{i32 589860, metadata !2, metadata !"int", null, i32 0, i64 32, i64 32, i64 0, i32 0, i32 5} ; [ DW_TAG_base_type ] !7 = metadata !{i32 4, i32 14, metadata !0, null} !8 = metadata !{i32 6, i32 5, metadata !9, null} !9 = metadata !{i32 589835, metadata !0, i32 5, i32 1...
2012 Feb 28
0
[LLVMdev] inspecting value of formal parameter in gdb for x86
...{i32 589845, metadata !1, metadata !"", metadata !1, i32 0, i64 0, i64 0, i32 0, i32 0, i32 0, metadata !4, i32 0, i32 0} ; [ DW_TAG_subroutine_type ] !4 = metadata !{null} !5 = metadata !{i32 590081, metadata !0, metadata !"c", metadata !1, i32 16777221, metadata !6, i32 0} ; [ DW_TAG_arg_variable ] !6 = metadata !{i32 589860, metadata !2, metadata !"int", null, i32 0, i64 32, i64 32, i64 0, i32 0, i32 5} ; [ DW_TAG_base_type ] !7 = metadata !{i32 5, i32 14, metadata !0, null} !8 = metadata !{i32 7, i32 5, metadata !9, null} !9 = metadata !{i32 589835, metadata !0, i32 6, i32 1...
2013 Oct 15
0
[LLVMdev] Unwanted push/pop on Cortex-M.
...ar", i32 0, i64 8, i64 8, i64 0, i32 0, i32 8} ; [ DW_TAG_base_type ] [char] [line 0, size 8, align 8, offset 0, enc DW_ATE_unsigned_char] !9 = metadata !{metadata !10} !10 = metadata !{i32 786689, metadata !4, metadata !"ch", metadata !5, i32 16777222, metadata !8, i32 0, i32 0} ; [ DW_TAG_arg_variable ] [ch] [line 6] !11 = metadata !{i32 6, i32 0, metadata !4, null} !12 = metadata !{i32 8, i32 0, metadata !4, null} !13 = metadata !{i32 9, i32 0, metadata !4, null} Thanks Andrea. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/piperm...
2014 Oct 14
2
[LLVMdev] [RFC] Less memory and greater maintainability for debug info IR
...mber Tag = 58, Count = 1387, Ops = 4161, Name = DW_TAG_imported_module Tag = 1, Count = 2747, Ops = 21976, Name = DW_TAG_array_type Tag = 46, Count = 1341021, Ops = 12069189, Name = DW_TAG_subprogram Tag = 257, Count = 4373879, Ops = 20785065, Name = DW_TAG_arg_variable Tag = 8, Count = 2246, Ops = 6738, Name = DW_TAG_imported_declaration Tag = 53, Count = 57, Ops = 228, Name = DW_TAG_volatile_type Tag = 15, Count = 55163, Ops = 220652, Name = DW_TAG_pointer_type Tag = 41, Count = 3382, Ops = 676...
2014 Oct 13
9
[LLVMdev] [RFC] Less memory and greater maintainability for debug info IR
In r219010, I merged integer and string fields into a single header field. By reducing the number of metadata operands used in debug info, this saved 2.2GB on an `llvm-lto` bootstrap. I've done some profiling of DW_TAGs to see what parts of PR17891 and PR17892 to tackle next, and I've concluded that they will be insufficient. Instead, I'd like to implement a more aggressive plan,