Displaying 3 results from an estimated 3 matches for "tag_lexical_block".
2011 Dec 29
2
[LLVMdev] DW_AT_location not getting generated for local variables
...e_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, metadata !14, null}
!18 = metadata !{i32 4, i32 4, metadata !14, null}
---
And this is what dwarfdump on the co...
2012 Jan 02
0
[LLVMdev] DW_AT_location not getting generated for local variables
...{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, metadata !14, null}
> !18 = metadata !{i32 4, i32 4, metadata !14, null}
> ---
>
&g...
2011 Oct 13
1
[LLVMdev] Local variable information in scope
Hi,
I want to list some additional information on this.
The variable collection I am looking at is, "variables 'declared' in scope".
1. When I traverse the MachineInstructions in the LexicalScopes ranges, and check for variables, I get variables used in this scope.
The variables listed include variables which may not have been declared in the scope. (for example