[LLVMbugs] [Bug 3315] Error on the attached file

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jun 29 21:34:17 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=3315

Jakob Stoklund Olesen <stoklund at 2pi.dk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |stoklund at 2pi.dk
         Resolution|                            |WORKSFORME

--- Comment #3 from Jakob Stoklund Olesen <stoklund at 2pi.dk> 2011-06-29 23:34:17 CDT ---
Seems to be working now.

$ clang -g -c t.c
$ dwarfdump t.o
----------------------------------------------------------------------
 File: t.o (x86_64)
----------------------------------------------------------------------
.debug_info contents:

0x00000000: Compile Unit: length = 0x00000080  version = 0x0002  abbr_offset =
0x00000000  addr_size = 0x08  (next CU at 0x00000084)

0x0000000b: TAG_compile_unit [1] *
             AT_producer( "clang version 3.0 (trunk 134120)" )
             AT_language( DW_LANG_C99 )
             AT_name( "t.c" )
             AT_entry_pc( 0x0000000000000000 )
             AT_stmt_list( 0x00000000 )
             AT_comp_dir( "/Volumes/Krask/b" )

0x00000050:     TAG_subprogram [2] *
                 AT_sibling( {0x0000007c} )
                 AT_name( "f" )
                 AT_decl_file( "/Volumes/Krask/b/t.c" )
                 AT_decl_line( 2 )
                 AT_prototyped( 0x01 )
                 AT_external( 0x01 )
                 AT_low_pc( 0x0000000000000000 )
                 AT_high_pc( 0x0000000000000042 )
                 AT_frame_base( rbp )

0x0000006d:         TAG_formal_parameter [3]  
                     AT_name( "len" )
                     AT_decl_file( "/Volumes/Krask/b/t.c" )
                     AT_decl_line( 1 )
                     AT_type( {0x0000007c} ( int ) )
                     AT_location( fbreg -12 )

0x0000007b:         NULL

0x0000007c:     TAG_base_type [4]  
                 AT_encoding( DW_ATE_signed )
                 AT_name( "int" )
                 AT_byte_size( 0x04 )

0x00000083:     NULL

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list