search for: dw_at_decl_fil

Displaying 20 results from an estimated 62 matches for "dw_at_decl_fil".

Did you mean: dw_at_decl_file
2016 Mar 23
1
Clang/LLVM producing incomplete & erroneous debug information
...<a8> DW_AT_low_pc : 0x400880 <b0> DW_AT_high_pc : 0xc9 <b4> Unknown AT value: 3fe7: 1 <b4> DW_AT_frame_base : 1 byte block: 57 (DW_OP_reg7 (rsp)) <b6> DW_AT_name : (indirect string, offset: 0xaf): main <ba> DW_AT_decl_file : 1 <bb> DW_AT_decl_line : 16 <bc> DW_AT_prototyped : 1 <bc> DW_AT_type : <0x3f> <c0> DW_AT_external : 1 <c0> Unknown AT value: 3fe1: 1 <2><c0>: Abbrev Number: 8 (DW_TAG_formal_parameter) <c1>...
2014 Feb 19
2
[LLVMdev] [lldb-dev] How is variable info retrieved in debugging for executables generated by llvm backend?
...# DW_AT_low_pc > .int Lsection_line # DW_AT_stmt_list > .int Linfo_string2 # DW_AT_comp_dir > .byte 2 # Abbrev [2] 0x22:0x5d DW_TAG_subprogram > .int Linfo_string3 # DW_AT_name > .byte 1 # DW_AT_decl_file > .byte 2 # DW_AT_decl_line > # DW_AT_prototyped > .int 127 # DW_AT_type > # DW_AT_external > .int Lfunc_begin0 # DW_AT_low_pc > .int Lfunc_end0...
2014 Feb 18
1
[LLVMdev] [lldb-dev] How is variable info retrieved in debugging for executables generated by llvm backend?
All of this information is contained in the DWARF debug info that you must generate. Are you generating DWARF? If not, you will need to. If so, please attach an example program that contains DWARF and specify which function you are having trouble getting variable information for. Greg Clayton On Feb 18, 2014, at 12:44 AM, 杨勇勇 <triple.yang at gmail.com> wrote: > Hi, all > > I
2012 Mar 20
0
[LLVMdev] Runtime linker issue wtih X11R6 on i386 with -O3 optimization
...# DW_AT_byte_size .byte 3 # Abbrev [3] 0x63:0x18 DW_TAG_variable .ascii "something" # DW_AT_name .byte 0 .long 92 # DW_AT_type .byte 1 # DW_AT_external .byte 1 # DW_AT_decl_file .byte 6 # DW_AT_decl_line .byte 5 # DW_AT_location .byte 3 .long something .byte 3 # Abbrev [3] 0x7b:0x1d DW_TAG_variable .ascii "something_else" # DW_AT_name .byte 0 .long 92 # DW_AT_ty...
2014 Feb 18
4
[LLVMdev] How is variable info retrieved in debugging for executables generated by llvm backend?
Hi, all I ported llvm backend and lldb recently. Both tools can basically work. lldb is able to debug programs in asm style and frame unwinding is OK. But "frame variable XX" does not work because lldb is not able to determine the address of XX from debug info. Can someone give any clue? Thanks in advance. -- 杨勇勇 (Yang Yong-Yong) -------------- next part -------------- An HTML
2020 May 22
2
RFC: Add DWARF support for yaml2obj
...ng a "SourceLocation" entry as a > first class entity is really worth it. This > """ > - SourceLocation: > - File: foo > - Line: 1 > - Column: 2 > """ > is not that much shorter than > """ > - Attr: DW_AT_decl_file > Value: foo > - Attr: DW_AT_decl_line > Value: 1 > - Attr: DW_AT_decl_column > Value: 2 > """ > OTOH, it creates a lot of opportunities for ambiguity: What if a DIE has > both a SourceLocation entry and an explicit DW_AT_decl_file attribute?...
2010 Nov 07
3
[LLVMdev] Next round of DWARF issues/questions
...mation via dwarfdump, you can see that the size of the object is zero: <1>< 2233> DW_TAG_class_type DW_AT_sibling <2295> DW_AT_name tart.core.Object * DW_AT_byte_size 0* DW_AT_decl_file 65 DW_AT_decl_line 9 <2>< 2258> DW_TAG_member DW_AT_name __tib DW_AT_type <2228> DW_AT_decl_file 65 DW_AT_decl_line...
2020 May 21
2
RFC: Add DWARF support for yaml2obj
On 5/21/20, Adrian Prantl <aprantl at apple.com> wrote: > I think the example looks like it would be really useful for many categories > of testcases! > Will it still be possible to manually specify the .debug_abbrev section when > this is desired after you are done? Yes, I think it works. There are two ways to edit the .debug_abbrev section. i) Edit the "Attr:" and
2012 Feb 24
1
[LLVMdev] DW_AT_inline not present in assembly for an inlined inline function
...ow why DW_AT_inline is not emitted with Clang compiled assembly output? I am aware that Clang uses C99 mode by default. In case of GCC, .uleb128 0x2 @ (DIE (0x25) DW_TAG_subprogram) .byte 0x1 @ DW_AT_external .ascii "t\0" @ DW_AT_name .byte 0x1 @ DW_AT_decl_file (test.h) .byte 0x1 @ DW_AT_decl_line .4byte 0x30 @ DW_AT_type .byte 0x3 @ DW_AT_inline In case of Clang, .byte 4 @ Abbrev [4] 0x87:0xa DW_TAG_subprogram .byte 116 @ DW_AT_name .byte 0 ....
2010 Nov 08
0
[LLVMdev] Next round of DWARF issues/questions
...n see that the size of the object is zero: > > <1>< 2233> DW_TAG_class_type > DW_AT_sibling <2295> > DW_AT_name tart.core.Object > DW_AT_byte_size 0 > DW_AT_decl_file 65 > DW_AT_decl_line 9 > <2>< 2258> DW_TAG_member > DW_AT_name __tib > DW_AT_type <2228> > DW_AT_decl_file 65 >...
2010 Nov 09
2
[LLVMdev] Next round of DWARF issues/questions
...see that the size of the object is zero: > > <1>< 2233> DW_TAG_class_type > DW_AT_sibling <2295> > DW_AT_name tart.core.Object > * DW_AT_byte_size 0* > DW_AT_decl_file 65 > DW_AT_decl_line 9 > <2>< 2258> DW_TAG_member > DW_AT_name __tib > DW_AT_type <2228> > DW_AT_decl_file 65 >...
2010 Nov 09
0
[LLVMdev] Next round of DWARF issues/questions
...he object is zero: >> >> <1>< 2233> DW_TAG_class_type >> DW_AT_sibling <2295> >> DW_AT_name tart.core.Object >> DW_AT_byte_size 0 >> DW_AT_decl_file 65 >> DW_AT_decl_line 9 >> <2>< 2258> DW_TAG_member >> DW_AT_name __tib >> DW_AT_type <2228> >> DW_AT_decl_file...
2019 Nov 05
2
DWARFv5 DW_FORM_implicit_const support in LLVM
...out, the support for generating DW_FORM_implicit_const is there, but I could not make out the DWARF attributes for which this form is being generated currently. Are there any attributes for which this form is generated currently ? Gcc typically generates this form for a bunch of attributes like: DW_AT_decl_file, DW_AT_decl_column, DW_AT_accessibility, DW_AT_defaulted, DW_AT_byte_size, etc Any pointers are deeply appreciated. Thanks, Jini. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191105/32ebf5df/attachm...
2019 Dec 10
2
aarch64 do not generate debug info for tls var
...ow testcase $cat test.c __thread int mtls=1; void foo(){ mtls++; } it emits this debug info for mtls 0x0000002a: DW_TAG_variable DW_AT_name ("mtls") DW_AT_type (0x00000035 "int") DW_AT_external (true) DW_AT_decl_file ("test.c") DW_AT_decl_line (1) which does not contain DW_AT_Location. Currently, aarch64 does not emit DW_AT_Location for TLS variables. I could see at this line, it says some restriction in aarch64 elf abi. https://github.com/llvm-mirror/llvm/blob/master/lib/Target/AAr...
2018 Apr 05
1
print signature of function from dwarf info in file?
Hi I'm using llvm-5. Browsing the source of llvm-dwarfdump and trying it on some shared libraries, I see I can print the debug info (assuming it exists). For some function, I'm wondering if there's a short cut to prettyprinting the signature of a function in the library? I think, looking at the output, that enough information exists but it seems to involve looking at the subprogram
2014 Sep 03
4
[LLVMdev] llvm-dwarfdump improvements
...llvm-dwarfdump more developer friendly. There are quite a few features in Darwin’s dwarfdump that we find quite useful and that we would like to contribute to llvm-dwarfdump. I have started by augmenting the -debug-dump=info output: - Symbolic names for attribute values - Line table lookups for DW_AT_decl_file - Annotate DW_AT_specification with the target DIE’s name - DWARF expression pretty-printing With these enhancements, the debug_info dump is nearly always sufficient and the user rarely needs to go and decode himself the referenced content of other debug sections. There will be more work by me...
2014 Feb 20
2
[LLVMdev] [lldb-dev] How is variable info retrieved in debugging for executables generated by llvm backend?
...LDB about > all of your CPU registers and also tell LLDB the DWARF register number for > each register accurately. > > Variable "a" has debug info: > > 0x00000054: DW_TAG_variable [4] > DW_AT_name( "a" ) > DW_AT_decl_file( > "/home/yangyy/workspace/newlib/test.c" ) > DW_AT_decl_line( 4 ) > DW_AT_type( {0x0000007f} ( int ) ) > DW_AT_location( fbreg +16 ) > > The location says it is at the frame base register + 16 bytes. The fr...
2010 Nov 26
3
[LLVMdev] Next round of DWARF issues/questions
...e object is zero: >> >> <1>< 2233> DW_TAG_class_type >> DW_AT_sibling <2295> >> DW_AT_name tart.core.Object >> * DW_AT_byte_size 0* >> DW_AT_decl_file 65 >> DW_AT_decl_line 9 >> <2>< 2258> DW_TAG_member >> DW_AT_name __tib >> DW_AT_type <2228> >> DW_AT_decl_file...
2020 Apr 15
2
Seeking clarification and way forward on limited scope variables.
...6d: DW_TAG_lexical_block DW_AT_low_pc (0x00000000002016d1) DW_AT_high_pc (0x000000000020170b) 0x0000007a: DW_TAG_variable DW_AT_location (DW_OP_fbreg -24) DW_AT_name ("Local") DW_AT_decl_file ("MainScope.c") DW_AT_decl_line (7) DW_AT_type (0x0000008a "int") ---------------------------------------------- The DWARF specification provides the DW_AT_start_scope attribute to deal with this issue (Sec 3.9 Declarations w...
2016 May 07
2
Debug info scope of explicit casting type does not seem correct
...0000002b: DW_TAG_subprogram [3] * 0x0000002c: DW_TAG_typedef [4] DW_AT_type [DW_FORM_ref4] (cu + 0x0040 => {0x00000040}) DW_AT_name [DW_FORM_strp] ( .debug_str[0x00000060] = "T") DW_AT_decl_file [DW_FORM_data1] ("c:\temp\ICL\LB\retain.cpp") DW_AT_decl_line [DW_FORM_data1] (16) Regards, Amjad From: David Blaikie [mailto:dblaikie at gmail.com] Sent: Saturday, April 30, 2016 17:59 To: Aboud, Amjad <amjad.aboud at intel.com> Cc: Adr...