search for: dw_tag_member

Displaying 20 results from an estimated 57 matches for "dw_tag_member".

2011 Jun 20
0
[LLVMdev] [PATCH] Context of DW_TAG_member
On Jun 18, 2011, at 3:14 PM, Xi Wang wrote: > Hi, > > When generating debugging information for a data member (e.g., a struct field), Clang doesn't set the member's context to the enclosed class/struct/union type --- it currently sets the context to the file instead. The attached patch corrects this. Thanks. Do you have a test case ? Please update createMemberType() directly,
2011 Jun 18
2
[LLVMdev] [PATCH] Context of DW_TAG_member
Hi, When generating debugging information for a data member (e.g., a struct field), Clang doesn't set the member's context to the enclosed class/struct/union type --- it currently sets the context to the file instead. The attached patch corrects this. Thanks. - xi -------------- next part -------------- A non-text attachment was scrubbed... Name: clang.diff Type:
2018 Jul 24
2
StructType --> DICompositeType?
...t;x = 0; a->y = 1; } There are DIType nodes for the struct Type: !6 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "S", file: !3, line: 1, size: 64, flags: DIFlagTypePassByValue, elements: !7, identifier: "_ZTS1S") !7 = !{!8, !10} !8 = !DIDerivedType(tag: DW_TAG_member, name: "x", scope: !6, file: !3, line: 2, baseType: !9, size: 32) !9 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) !10 = !DIDerivedType(tag: DW_TAG_member, name: "y", scope: !6, file: !3, line: 2, baseType: !9, size: 32, offset: 32) but given just th...
2016 Mar 26
2
DW_TAG_member extends beyond the bounds error on Linux
Hi, While dogfooding our lldb based IDE on Linux, I am seeing a lot of variable evaluation errors related to DW_TAG_member which prevents us from release the IDE. Can anyone help to confirm if they are known issues? If not, any information you need to troubleshoot this issue? Here is one example: (lldb) fr v *error: biggrep_master_server_async 0x10b9a91a: DW_TAG_member '_M_pod_data' refers to type 0x10bb1e99...
2016 Mar 27
0
DW_TAG_member extends beyond the bounds error on Linux
...later >> On Mar 26, 2016 4:16 PM, "Jeffrey Tan via llvm-dev" < >> llvm-dev at lists.llvm.org> wrote: >> >>> Hi, >>> >>> While dogfooding our lldb based IDE on Linux, I am seeing a lot of >>> variable evaluation errors related to DW_TAG_member which prevents us from >>> release the IDE. Can anyone help to confirm if they are known issues? If >>> not, any information you need to troubleshoot this issue? >>> >>> Here is one example: >>> >>> (lldb) fr v >>> *error: biggrep_maste...
2016 Mar 27
0
DW_TAG_member extends beyond the bounds error on Linux
...the problem you are seeing, but will be a problem sooner or later On Mar 26, 2016 4:16 PM, "Jeffrey Tan via llvm-dev" <llvm-dev at lists.llvm.org> wrote: > Hi, > > While dogfooding our lldb based IDE on Linux, I am seeing a lot of > variable evaluation errors related to DW_TAG_member which prevents us from > release the IDE. Can anyone help to confirm if they are known issues? If > not, any information you need to troubleshoot this issue? > > Here is one example: > > (lldb) fr v > *error: biggrep_master_server_async 0x10b9a91a: DW_TAG_member > '_M_po...
2016 Mar 27
1
DW_TAG_member extends beyond the bounds error on Linux
...be a problem > sooner or later > On Mar 26, 2016 4:16 PM, "Jeffrey Tan via llvm-dev" < > llvm-dev at lists.llvm.org> wrote: > >> Hi, >> >> While dogfooding our lldb based IDE on Linux, I am seeing a lot of >> variable evaluation errors related to DW_TAG_member which prevents us from >> release the IDE. Can anyone help to confirm if they are known issues? If >> not, any information you need to troubleshoot this issue? >> >> Here is one example: >> >> (lldb) fr v >> *error: biggrep_master_server_async 0x10b9a91a: D...
2010 Nov 07
3
[LLVMdev] Next round of DWARF issues/questions
...G_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 10 DW_AT_data_member_location DW_OP_plus_uconst 0 <2>< 2274> DW_TAG...
2017 Nov 15
2
workaround for debug info bug?
...encoding: DW_ATE_unsigned) !9 = !DIDerivedType(tag: DW_TAG_pointer_type, name: "&[]const u8", baseType: !10, size: 64, align: 64) !10 = !DICompositeType(tag: DW_TAG_structure_type, name: "[]u8", size: 128, align: 64, elements: !11) !11 = !{!12, !15} !12 = !DIDerivedType(tag: DW_TAG_member, name: "ptr", scope: !10, baseType: !13, size: 64, align: 64) !13 = !DIDerivedType(tag: DW_TAG_pointer_type, name: "&u8", baseType: !14, size: 64, align: 64) !14 = !DIBasicType(name: "u8", size: 8, encoding: DW_ATE_unsigned_char) !15 = !DIDerivedType(tag: DW_TAG_me...
2015 Aug 18
3
[RFC PATCH 1/2] [clang]: Add AuxAttr support
...alling DI->EmitTypeAuxAttribute(type, "ID", 1234); We can get following information in dwarf: <1><3f>: Abbrev Number: 3 (DW_TAG_structure_type) <40> DW_AT_name : (indirect string, offset: 0xeb): my_str ... <2><47>: Abbrev Number: 4 (DW_TAG_member) <48> DW_AT_name : (indirect string, offset: 0xe3): x <4c> DW_AT_type : <0x6d> ... ... <2><5f>: Abbrev Number: 5 (DW_TAG_enumeration_type) <60> DW_AT_name : (indirect string, offset: 0x140): .llvm.aux.attr <6...
2017 Oct 01
2
load with alignment of 1 crashes from being unaligned
...ncoding: DW_ATE_unsigned) !65 = !DIDerivedType(tag: DW_TAG_pointer_type, name: "&[]const u8", baseType: !66, size: 64, align: 64) !66 = !DICompositeType(tag: DW_TAG_structure_type, name: "[]u8", size: 128, align: 64, elements: !67) !67 = !{!68, !71} !68 = !DIDerivedType(tag: DW_TAG_member, name: "ptr", scope: !66, baseType: !69, size: 64, align: 64) !69 = !DIDerivedType(tag: DW_TAG_pointer_type, name: "&u8", baseType: !70, size: 64, align: 64) !70 = !DIBasicType(name: "u8", size: 8, encoding: DW_ATE_unsigned_char) !71 = !DIDerivedType(tag: DW_TAG_me...
2010 Nov 08
0
[LLVMdev] Next round of DWARF issues/questions
...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 10 > DW_AT_data_member_location DW_OP_plus_uconst 0 > <...
2010 Nov 09
2
[LLVMdev] Next round of DWARF issues/questions
...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 10 > DW_AT_data_member_location DW_OP_plus_uconst 0 > <...
2010 Nov 09
0
[LLVMdev] Next round of DWARF issues/questions
...<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 10 >> DW_AT_data_member_location DW_OP_plu...
2015 Nov 13
2
[PATCH] D14358: DWARF's forward decl of a template should have template parameters.
...*p; > }; > > B b; > > struct C { > typedef int MONKEY; > > A<MONKEY> *p; > }; > > C c; > > This gives this DWARF: > > +-0000003f DW_TAG_structure_type "B" > -DW_AT_name DW_FORM_strp "B" > +-00000047 DW_TAG_member "p" > -DW_AT_name DW_FORM_strp "p" > +-DW_AT_type DW_FORM_ref4 0x00000054 > +-00000054 DW_TAG_pointer_type > +-DW_AT_type DW_FORM_ref4 0x00000059 > +-00000059 DW_TAG_class_type "A<MONKEY>" > -D...
2015 Dec 09
2
[PATCH] D14358: DWARF's forward decl of a template should have template parameters.
...*p; > }; > > B b; > > struct C { > typedef int MONKEY; > > A<MONKEY> *p; > }; > > C c; > > This gives this DWARF: > > +-0000003f DW_TAG_structure_type "B" > -DW_AT_name DW_FORM_strp "B" > +-00000047 DW_TAG_member "p" > -DW_AT_name DW_FORM_strp "p" > +-DW_AT_type DW_FORM_ref4 0x00000054 > +-00000054 DW_TAG_pointer_type > +-DW_AT_type DW_FORM_ref4 0x00000059 > +-00000059 DW_TAG_class_type "A<MONKEY>" > -D...
2010 Nov 26
3
[LLVMdev] Next round of DWARF issues/questions
...<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 10 >> DW_AT_data_member_location DW_OP_plu...
2013 Jun 20
0
[LLVMdev] Proposal: type uniquing of debug info for LTO
...ata !14, i32 0, null, null} ; [ DW_TAG_structure_type ] [Base] [line 1, size 32, align 32, offset 0] [from ] > !14 = metadata !{metadata !15, metadata !16} > !15 = metadata !{i32 786445, metadata !13, metadata !12, metadata !"a", i32 2, i64 32, i64 32, i64 0, i32 0, metadata !8} ; [ DW_TAG_member ] [a] [line 2, size 32, align 32, offset 0] [from int] > !16 = metadata !{i32 786478, metadata !13, metadata !12, metadata !"Base", metadata !"Base", metadata !"", i32 1, metadata !17, i1 false, i1 false, i32 0, i32 0, null, i32 320, i1 false, null, null, i32 0, met...
2013 Jun 20
9
[LLVMdev] Proposal: type uniquing of debug info for LTO
...ull, metadata !14, i32 0, null, null} ; [ DW_TAG_structure_type ] [Base] [line 1, size 32, align 32, offset 0] [from ] !14 = metadata !{metadata !15, metadata !16} !15 = metadata !{i32 786445, metadata !13, metadata !12, metadata !"a", i32 2, i64 32, i64 32, i64 0, i32 0, metadata !8} ; [ DW_TAG_member ] [a] [line 2, size 32, align 32, offset 0] [from int] !16 = metadata !{i32 786478, metadata !13, metadata !12, metadata !"Base", metadata !"Base", metadata !"", i32 1, metadata !17, i1 false, i1 false, i32 0, i32 0, null, i32 320, i1 false, null, null, i32 0, metadata...
2015 Dec 09
2
[PATCH] D14358: DWARF's forward decl of a template should have template parameters.
...*p; > }; > > B b; > > struct C { > typedef int MONKEY; > > A<MONKEY> *p; > }; > > C c; > > This gives this DWARF: > > +-0000003f DW_TAG_structure_type "B" > -DW_AT_name DW_FORM_strp "B" > +-00000047 DW_TAG_member "p" > -DW_AT_name DW_FORM_strp "p" > +-DW_AT_type DW_FORM_ref4 0x00000054 > +-00000054 DW_TAG_pointer_type > +-DW_AT_type DW_FORM_ref4 0x00000059 > +-00000059 DW_TAG_class_type "A<MONKEY>" > -D...