Displaying 9 results from an estimated 9 matches for "dw_lang_c".
Did you mean:
dw_lang_c99
2011 Apr 07
0
[LLVMdev] More DWARF problems
...00000e2: 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 ) )
> 0x00000100: AT_comp_dir( .debug_str[0x00000205] =
> "/Users/talin/Projects/tart/trunk/lib/std/tart/c...
2011 Apr 03
2
[LLVMdev] More DWARF problems
...x000000e1: 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 ) )
0x00000100: AT_comp_dir( .debug_str[0x00000205] =
"/Users/talin/Projects/tart/trunk/lib/std/tart/core" )
0x00000104:...
2016 Nov 17
3
DWARF Generator
...arfInitSuccess);
uint16_t Version = 4;
uint8_t AddrSize = 8;
DwarfGenCU &CU = DG.appendCompileUnit(Version, AddrSize);
DwarfGenDIE CUDie = CU.getUnitDIE();
CUDie.addAttribute(DW_AT_name, DW_FORM_strp, "/tmp/main.c");
CUDie.addAttribute(DW_AT_language, DW_FORM_data2, DW_LANG_C);
DwarfGenDIE SubprogramDie = CUDie.addChild(DW_TAG_subprogram);
SubprogramDie.addAttribute(DW_AT_name, DW_FORM_strp, "main");
SubprogramDie.addAttribute(DW_AT_low_pc, DW_FORM_addr, 0x1000U);
SubprogramDie.addAttribute(DW_AT_high_pc, DW_FORM_addr, 0x2000U);
DwarfGenDIE In...
2011 Apr 07
1
[LLVMdev] More DWARF problems
...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 ) )
> 0x00000100: AT_comp_dir( .debug_str[0x00000205] = "/Users/talin/Projects/tart/trunk/lib/std/tart/core&q...
2016 Nov 18
4
DWARF Generator
...ersion = 4;
> uint8_t AddrSize = 8;
> DwarfGenCU &CU = DG.appendCompileUnit(Version, AddrSize);
> DwarfGenDIE CUDie = CU.getUnitDIE();
>
> CUDie.addAttribute(DW_AT_name, DW_FORM_strp, "/tmp/main.c");
> CUDie.addAttribute(DW_AT_language, DW_FORM_data2, DW_LANG_C);
>
> DwarfGenDIE SubprogramDie = CUDie.addChild(DW_TAG_subprogram);
> SubprogramDie.addAttribute(DW_AT_name, DW_FORM_strp, "main");
> SubprogramDie.addAttribute(DW_AT_low_pc, DW_FORM_addr, 0x1000U);
> SubprogramDie.addAttribute(DW_AT_high_pc, DW_FORM_addr, 0x2...
2016 Nov 18
2
DWARF Generator
...= 8;
>>> DwarfGenCU &CU = DG.appendCompileUnit(Version, AddrSize);
>>> DwarfGenDIE CUDie = CU.getUnitDIE();
>>>
>>> CUDie.addAttribute(DW_AT_name, DW_FORM_strp, "/tmp/main.c");
>>> CUDie.addAttribute(DW_AT_language, DW_FORM_data2, DW_LANG_C);
>>>
>>> DwarfGenDIE SubprogramDie = CUDie.addChild(DW_TAG_subprogram);
>>> SubprogramDie.addAttribute(DW_AT_name, DW_FORM_strp, "main");
>>> SubprogramDie.addAttribute(DW_AT_low_pc, DW_FORM_addr, 0x1000U);
>>> SubprogramDie.addAttrib...
2016 Nov 18
2
DWARF Generator
...DwarfGenCU &CU = DG.appendCompileUnit(Version, AddrSize);
> >>> DwarfGenDIE CUDie = CU.getUnitDIE();
> >>>
> >>> CUDie.addAttribute(DW_AT_name, DW_FORM_strp, "/tmp/main.c");
> >>> CUDie.addAttribute(DW_AT_language, DW_FORM_data2, DW_LANG_C);
> >>>
> >>> DwarfGenDIE SubprogramDie = CUDie.addChild(DW_TAG_subprogram);
> >>> SubprogramDie.addAttribute(DW_AT_name, DW_FORM_strp, "main");
> >>> SubprogramDie.addAttribute(DW_AT_low_pc, DW_FORM_addr, 0x1000U);
> >>>...
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