Displaying 19 results from an estimated 19 matches for "tag_compile_unit".
2008 Apr 23
3
[LLVMdev] Compile units in debugging intrinsics / globals
...appear to be in compile unit
"file1", the variable a appears to be in compile unit "file2" (and there are
no basic types in file2, so int is not defined), and fn2 appears to be in
compile unit "file3". My dwarf records are therefore incorrect, appearing
something like
TAG_compile_unit "file1"
TAG_subprogram "fn1" ...
...
TAG_base_type "int" ...
TAG_compile_init "file2"
TAG_variable "a" ...
TAG_compile_unit "file3"
TAG_subprogram "fn2" ...
...
When, in fact, these compile units "file2&qu...
2015 Jan 19
2
[LLVMdev] Dropping the DW_ prefix from names in dwarfdump
...--
> File: out.o (x86_64)
> ----------------------------------------------------------------------
> .debug_info contents:
>
> 0x00000000: Compile Unit: length = 0x0000005b version = 0x0004 abbr_offset = 0x00000000 addr_size = 0x08 (next CU at 0x0000005f)
>
> 0x0000000b: TAG_compile_unit [1] *
> AT_producer( "clang version 3.5.0 (209308)" )
> AT_language( DW_LANG_C_plus_plus )
> AT_name( "test.cc <http://test.cc/>" )
> AT_stmt_list( 0x00000000 )
> AT_comp_dir( "/llvm_cmake...
2015 Jan 19
2
[LLVMdev] Dropping the DW_ prefix from names in dwarfdump
Hey guys,
Frederic is introducing the expression dumping support and in the interests
of tersity is skipping the "DW_" in every "DW_OP" (heck, we could even skip
the "OP" given the context - nothing else textual can appear there, right?)
Any thoughts on skipping the "DW_" (maybe even the AT/TAG/FORM too) in the
rest of dwarfdump? (skipping the AT/TAG (FORM
2008 Apr 24
0
[LLVMdev] Compile units in debugging intrinsics / globals
...gt; "file1", the variable a appears to be in compile unit "file2" (and there are
> no basic types in file2, so int is not defined), and fn2 appears to be in
> compile unit "file3". My dwarf records are therefore incorrect, appearing
> something like
>
> TAG_compile_unit "file1"
> TAG_subprogram "fn1" ...
> ...
> TAG_base_type "int" ...
>
> TAG_compile_init "file2"
> TAG_variable "a" ...
>
> TAG_compile_unit "file3"
> TAG_subprogram "fn2" ...
> ......
2015 Jan 19
2
[LLVMdev] Dropping the DW_ prefix from names in dwarfdump
...6_64)
>> ----------------------------------------------------------------------
>> .debug_info contents:
>>
>> 0x00000000: Compile Unit: length = 0x0000005b version = 0x0004 abbr_offset = 0x00000000 addr_size = 0x08 (next CU at 0x0000005f)
>>
>> 0x0000000b: TAG_compile_unit [1] *
>> AT_producer( "clang version 3.5.0 (209308)" )
>> AT_language( DW_LANG_C_plus_plus )
>> AT_name( "test.cc <http://test.cc/>" )
>> AT_stmt_list( 0x00000000 )
>> AT_comp_di...
2015 Jan 20
2
[LLVMdev] Dropping the DW_ prefix from names in dwarfdump
...-------------------------------------
File: out.o (x86_64)
----------------------------------------------------------------------
.debug_info contents:
0x00000000: Compile Unit: length = 0x0000005b version = 0x0004 abbr_offset = 0x00000000 addr_size = 0x08 (next CU at 0x0000005f)
0x0000000b: TAG_compile_unit [1] *
AT_producer( "clang version 3.5.0 (209308)" )
AT_language( DW_LANG_C_plus_plus )
AT_name( "test.cc<http://test.cc/>" )
AT_stmt_list( 0x00000000 )
AT_comp_dir( "/llvm_cmake" )
AT_l...
2011 Apr 30
2
[LLVMdev] DWARF not being generated for local variable, though MD looks right(?)
...865, metadata !"a.c", metadata !"/Users/mmp/foo/", metadata !2} ; [ DW_TAG_file_type ]
!2 = metadata !{i32 589841, i32 0, i32 12, metadata !"a.c", metadata !"/Users/mmp/foo", metadata !"foo", i1 true, i1 true, metadata !"-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 5...
2011 Dec 29
2
[LLVMdev] DW_AT_location not getting generated for local variables
...ta) nounwind readnone
!llvm.dbg.cu = !{!0}
!0 = metadata !{i32 720913, i32 0, i32 49572, metadata !"foo.clay",
metadata !"", metadata !"clay compiler 0.1git", i1 true, i1 false, metadata
!"", i32 0, metadata !1, metadata !1, metadata !3, metadata !1} ; [
DW_TAG_compile_unit ]
!1 = metadata !{metadata !2}
!2 = metadata !{i32 0}
!3 = metadata !{metadata !4}
!4 = metadata !{metadata !5}
!5 = metadata !{i32 720942, i32 0, metadata !6, metadata !"foo", metadata
!"foo", metadata !"\01_main", metadata !7, i32 1, metadata !8, i1 false, i1
true, i...
2014 Jun 02
2
[LLVMdev] [lldb-dev] MCJIT Mach-O JIT debugging
...ege.harvard.edu> wrote:
>
> I think I'm getting closer. The debug_info section is being relocated correctly (I think):
>
> 0x00000000: Compile Unit: length = 0x00000045 version = 0x0003 abbr_offset = 0x00000000 addr_size = 0x08 (next CU at 0x00000049)
>
> 0x0000000b: TAG_compile_unit [1] *
> AT_producer( "julia" )
> AT_language( DW_LANG_C89 )
> AT_name( "string.jl" )
> AT_stmt_list( 0x00000000 )
> AT_comp_dir( "." )
> AT_APPLE_optimized( 0x01 )
>...
2012 Jan 02
0
[LLVMdev] DW_AT_location not getting generated for local variables
...llvm.dbg.cu = !{!0}
>
> !0 = metadata !{i32 720913, i32 0, i32 49572, metadata !"foo.clay", metadata
> !"", metadata !"clay compiler 0.1git", i1 true, i1 false, metadata !"", i32
> 0, metadata !1, metadata !1, metadata !3, metadata !1} ; [
> DW_TAG_compile_unit ]
> !1 = metadata !{metadata !2}
> !2 = metadata !{i32 0}
> !3 = metadata !{metadata !4}
> !4 = metadata !{metadata !5}
> !5 = metadata !{i32 720942, i32 0, metadata !6, metadata !"foo", metadata
> !"foo", metadata !"\01_main", metadata !7, i32 1, met...
2011 Apr 07
0
[LLVMdev] More DWARF problems
...0db: AT_high_pc( 0x0000f7b1 )
> 0x000000df: AT_frame_base( <0x1> 55 ( reg5 ) )
>
> 0x000000e1: NULL
>
> 0x000000e2: Compile Unit: length = 0x00000071 version = 0x0002
> abbr_offset = 0x00000000 addr_size = 0x04 (next CU at 0x00000157)
>
> 0x000000ed: TAG_compile_unit [1] *
> 0x000000ee: AT_producer( .debug_str[0x00000001] = "0.1 tartc" )
> 0x000000f2: AT_language( 0x0002 ( DW_LANG_C ) )
> 0x000000f4: AT_name( .debug_str[0x000001fa] = "range.tart" )
> 0x000000f8: AT_entry_pc( 0x00004360 )
> 0x000000fc: AT_stmt_list( 0x0000...
2011 Apr 03
2
[LLVMdev] More DWARF problems
...AT_low_pc( 0x0000f780 )
0x000000db: AT_high_pc( 0x0000f7b1 )
0x000000df: AT_frame_base( <0x1> 55 ( reg5 ) )
0x000000e1: NULL
0x000000e2: Compile Unit: length = 0x00000071 version = 0x0002 abbr_offset
= 0x00000000 addr_size = 0x04 (next CU at 0x00000157)
0x000000ed: TAG_compile_unit [1] *
0x000000ee: AT_producer( .debug_str[0x00000001] = "0.1 tartc" )
0x000000f2: AT_language( 0x0002 ( DW_LANG_C ) )
0x000000f4: AT_name( .debug_str[0x000001fa] = "range.tart" )
0x000000f8: AT_entry_pc( 0x00004360 )
0x000000fc: AT_stmt_list( 0x00000000 ( 0x00000000 ) )
0x0...
2014 Jun 02
2
[LLVMdev] [lldb-dev] MCJIT Mach-O JIT debugging
I didn't get to work on this more last week, but I'll look at incorporating
that suggestion.
The other question of course is how to do this in LLDB. Right, now what I'm
doing is going through and adjusting the load address of every leaf in the
section tree. That basically works and gets me backtraces with the correct
function names and the ability to set breakpoints at functions in
2011 May 02
0
[LLVMdev] DWARF not being generated for local variable, though MD looks right(?)
...metadata !"a.c", metadata !"/Users/mmp/foo/", metadata !2} ; [ DW_TAG_file_type ]
> !2 = metadata !{i32 589841, i32 0, i32 12, metadata !"a.c", metadata !"/Users/mmp/foo", metadata !"foo", i1 true, i1 true, metadata !"-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 = m...
2015 Feb 20
2
[LLVMdev] Questions before moving the new debug info hierarchy into place
...tation was too strict though and that we could canonicalize the file/dir names as we’d like.
The compilation dir will always be there as a special entry. It’s the implicit entry 0 in the directory list, but it’s value is not stored in the line table, it is a normal string that is referenced by the TAG_compile_unit DIE. If it is extracted from an MDFile, we need to make sure this one doesn’t get mangled, but I think this is the only one we really need to preserve.
> It's not clear to me *which* references need that, but I guess
> we need to sort out exactly what the requirements are so we know
>...
2011 Apr 07
1
[LLVMdev] More DWARF problems
...000db: AT_high_pc( 0x0000f7b1 )
> 0x000000df: AT_frame_base( <0x1> 55 ( reg5 ) )
>
> 0x000000e1: NULL
>
> 0x000000e2: Compile Unit: length = 0x00000071 version = 0x0002 abbr_offset = 0x00000000 addr_size = 0x04 (next CU at 0x00000157)
>
> 0x000000ed: TAG_compile_unit [1] *
> 0x000000ee: AT_producer( .debug_str[0x00000001] = "0.1 tartc" )
> 0x000000f2: AT_language( 0x0002 ( DW_LANG_C ) )
> 0x000000f4: AT_name( .debug_str[0x000001fa] = "range.tart" )
> 0x000000f8: AT_entry_pc( 0x00004360 )
> 0x000000fc: AT_stmt_list( 0x0000...
2015 Feb 20
2
[LLVMdev] Questions before moving the new debug info hierarchy into place
> On Feb 20, 2015, at 9:00 AM, David Blaikie <dblaikie at gmail.com> wrote:
>
>
>
> On Thu, Feb 19, 2015 at 7:49 PM, Duncan P. N. Exon Smith <dexonsmith at apple.com <mailto:dexonsmith at apple.com>> wrote:
> I'm getting close to executing the transition to the new debug info
> hierarchy. For reference, I've attached two WIP patches (which would
2011 Mar 30
0
[LLVMdev] More DWARF problems
On Mar 29, 2011, at 7:29 PM, Talin wrote:
> I've been trying to track down the problem with the DWARF info that is being emitted by my front end, which has been broken for about a month now. Here's what happens when I attempt to use gdb to debug one of my programs on OS X:
>
> gdb stack crawl at point of internal error:
> [ 0 ] /usr/libexec/gdb/gdb-i386-apple-darwin
2011 Mar 30
5
[LLVMdev] More DWARF problems
I've been trying to track down the problem with the DWARF info that is being
emitted by my front end, which has been broken for about a month now. Here's
what happens when I attempt to use gdb to debug one of my programs on OS X:
gdb stack crawl at point of internal error:
[ 0 ] /usr/libexec/gdb/gdb-i386-apple-darwin (align_down+0x0) [0x122300]
[ 1 ] /usr/libexec/gdb/gdb-i386-apple-darwin