[gdb/testsuite] Regenerate dw2-restrict.S

When running gdb.dwarf2/dw2-restrict.exp with board cc-with-dwz, we run into:
...
dwz: dw2-restrict: DW_AT_stmt_list not DW_FORM_sec_offset or DW_FORM_data4
...

The problem is that the DW_AT_stmt_list is encoded using DW_FORM_addr, while
DW_FORM_sec_offset or DW_FORM_data4 would be appropriate.  The test-case uses
a dw2-restrict.S which was generated using clang 2.9, which contained a bug
( https://bugs.llvm.org/show_bug.cgi?id=9995 ) causing this problem.

Fix this by regenerating using clang 5.0.1.

Tested on x86_64-linux.

gdb/testsuite/ChangeLog:

2019-06-25  Tom de Vries  <tdevries@suse.de>

	PR testsuite/24727
	* gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
This commit is contained in:
Tom de Vries
2019-06-25 16:42:46 +02:00
parent c2fc64f54e
commit 5c2c8c694d
2 changed files with 219 additions and 337 deletions

View File

@ -1,3 +1,8 @@
2019-06-25 Tom de Vries <tdevries@suse.de>
PR testsuite/24727
* gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
2019-06-24 Tom de Vries <tdevries@suse.de> 2019-06-24 Tom de Vries <tdevries@suse.de>
* gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference. * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.

View File

@ -17,350 +17,163 @@
*/ */
.text
.file "dw2-restrict.c" .file "dw2-restrict.c"
.section .debug_frame,"",@progbits .globl f # -- Begin function f
.Lsection_debug_frame: .p2align 4, 0x90
.section .debug_info,"",@progbits
.Lsection_info:
.section .debug_abbrev,"",@progbits
.Lsection_abbrev:
.section .debug_aranges,"",@progbits
.section .debug_macinfo,"",@progbits
.section .debug_line,"",@progbits
.Lsection_line:
.section .debug_loc,"",@progbits
.section .debug_pubnames,"",@progbits
.section .debug_pubtypes,"",@progbits
.section .debug_str,"",@progbits
.Lsection_str:
.section .debug_ranges,"",@progbits
.Ldebug_range:
.section .debug_loc,"",@progbits
.Lsection_debug_loc:
.text
.Ltext_begin:
.data
.file 1 "dw2-restrict.c"
.text
.globl f
.align 16, 0x90
.type f,@function .type f,@function
f: # @f f: # @f
.Leh_func_begin0:
.Lfunc_begin0: .Lfunc_begin0:
.loc 1 19 0 .file 1 "dw2-restrict.c"
.Ltmp0: .loc 1 19 0 # dw2-restrict.c:19:0
# BB#0: .cfi_startproc
movq %rdi, -8(%rsp)
.loc 1 20 3
.Ltmp1:
movq -8(%rsp), %rdi # dw2-restrict.c:20:3
movsbl (%rdi), %eax # dw2-restrict.c:20:3
ret # dw2-restrict.c:20:3
.Ltmp2:
.Ltmp3:
.size f, .Ltmp3-f
.Lfunc_end0:
.Leh_func_end0:
.globl main
.align 16, 0x90
.type main,@function
main: # @main
.Leh_func_begin1:
.Lfunc_begin1:
.loc 1 24 0
.Ltmp7:
# BB#0: # BB#0:
pushq %rbp pushq %rbp
.Ltmp4: .Lcfi0:
.cfi_def_cfa_offset 16
.Lcfi1:
.cfi_offset %rbp, -16
movq %rsp, %rbp movq %rsp, %rbp
.Ltmp5: .Lcfi2:
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
.Ltmp0:
.loc 1 20 10 prologue_end # dw2-restrict.c:20:10
movq -8(%rbp), %rdi
movsbl (%rdi), %eax
.loc 1 20 3 is_stmt 0 # dw2-restrict.c:20:3
popq %rbp
retq
.Ltmp1:
.Lfunc_end0:
.size f, .Lfunc_end0-f
.cfi_endproc
# -- End function
.globl main # -- Begin function main
.p2align 4, 0x90
.type main,@function
main: # @main
.Lfunc_begin1:
.loc 1 24 0 is_stmt 1 # dw2-restrict.c:24:0
.cfi_startproc
# BB#0:
pushq %rbp
.Lcfi3:
.cfi_def_cfa_offset 16
.Lcfi4:
.cfi_offset %rbp, -16
movq %rsp, %rbp
.Lcfi5:
.cfi_def_cfa_register %rbp
subq $16, %rsp subq $16, %rsp
.Ltmp6: movabsq $.L.str, %rdi
leaq .L.str, %rdi
movl $0, -4(%rbp) movl $0, -4(%rbp)
.loc 1 25 3 .Ltmp2:
.Ltmp8: .loc 1 25 10 prologue_end # dw2-restrict.c:25:10
callq f # dw2-restrict.c:25:3 callq f
addq $16, %rsp # dw2-restrict.c:25:3 .loc 1 25 3 is_stmt 0 # dw2-restrict.c:25:3
popq %rbp # dw2-restrict.c:25:3 addq $16, %rsp
ret # dw2-restrict.c:25:3 popq %rbp
.Ltmp9: retq
.Ltmp10: .Ltmp3:
.size main, .Ltmp10-main
.Lfunc_end1: .Lfunc_end1:
.Leh_func_end1: .size main, .Lfunc_end1-main
.cfi_endproc
# -- End function
.type .L.str,@object # @.str .type .L.str,@object # @.str
.section .rodata.str1.1,"aMS",@progbits,1 .section .rodata.str1.1,"aMS",@progbits,1
.L.str: .L.str:
.asciz "hi bob" .asciz "hi bob"
.size .L.str, 7 .size .L.str, 7
.section .eh_frame,"a",@progbits .section .debug_str,"MS",@progbits,1
.LEH_frame0: .Linfo_string0:
.Lsection_eh_frame0: .asciz "clang version 5.0.1 (tags/RELEASE_501/final 312548)" # string offset=0
.Leh_frame_common0: .Linfo_string1:
.Lset0 = .Leh_frame_common_end0-.Leh_frame_common_begin0 # Length of Common Information Entry .asciz "dw2-restrict.c" # string offset=52
.long .Lset0 .Linfo_string2:
.Leh_frame_common_begin0: .asciz "/data/gdb_versions/devel/src/gdb/testsuite/gdb.dwarf2" # string offset=67
.long 0 # CIE Identifier Tag .Linfo_string3:
.byte 1 # DW_CIE_VERSION .asciz "f" # string offset=121
.asciz "zR" # CIE Augmentation .Linfo_string4:
.byte 1 # CIE Code Alignment Factor .asciz "int" # string offset=123
.byte 120 # CIE Data Alignment Factor .Linfo_string5:
.byte 16 # CIE Return Address Column .asciz "main" # string offset=127
.byte 1 # Augmentation Size .Linfo_string6:
.byte 3 # FDE Encoding = udata4 .asciz "x" # string offset=132
.byte 12 # DW_CFA_def_cfa .Linfo_string7:
.byte 7 # Register .asciz "char" # string offset=134
.byte 8 # Offset
.byte 144 # DW_CFA_offset + Reg (16)
.byte 1 # Offset
.align 8
.Leh_frame_common_end0:
.Lf.eh:
.Lset1 = .Leh_frame_end0-.Leh_frame_begin0 # Length of Frame Information Entry
.long .Lset1
.Leh_frame_begin0:
.Lset2 = .Leh_frame_begin0-.Leh_frame_common0 # FDE CIE offset
.long .Lset2
.long .Leh_func_begin0 # FDE initial location
.Lset3 = .Leh_func_end0-.Leh_func_begin0 # FDE address range
.long .Lset3
.byte 0 # Augmentation size
.align 8
.Leh_frame_end0:
.Lmain.eh:
.Lset4 = .Leh_frame_end1-.Leh_frame_begin1 # Length of Frame Information Entry
.long .Lset4
.Leh_frame_begin1:
.Lset5 = .Leh_frame_begin1-.Leh_frame_common0 # FDE CIE offset
.long .Lset5
.long .Leh_func_begin1 # FDE initial location
.Lset6 = .Leh_func_end1-.Leh_func_begin1 # FDE address range
.long .Lset6
.byte 0 # Augmentation size
.byte 4 # DW_CFA_advance_loc4
.Lset7 = .Ltmp4-.Leh_func_begin1
.long .Lset7
.byte 14 # DW_CFA_def_cfa_offset
.byte 16 # Offset
.byte 134 # DW_CFA_offset + Reg (6)
.byte 2 # Offset
.byte 4 # DW_CFA_advance_loc4
.Lset8 = .Ltmp5-.Ltmp4
.long .Lset8
.byte 13 # DW_CFA_def_cfa_register
.byte 6 # Register
.align 8
.Leh_frame_end1:
.text
.Ltext_end:
.data
.Ldata_end:
.text
.Lsection_end1:
.section .debug_frame,"",@progbits
.Ldebug_frame_common:
.Lset9 = .Ldebug_frame_common_end-.Ldebug_frame_common_begin # Length of Common Information Entry
.long .Lset9
.Ldebug_frame_common_begin:
.long -1 # CIE Identifier Tag
.byte 1 # CIE Version
.byte 0 # CIE Augmentation
.byte 1 # CIE Code Alignment Factor
.byte 120 # CIE Data Alignment Factor
.byte 16 # CIE RA Column
.byte 12 # DW_CFA_def_cfa
.byte 7 # Register
.byte 8 # Offset
.byte 144 # DW_CFA_offset + Reg (16)
.byte 1 # Offset
.align 4
.Ldebug_frame_common_end:
.Lset10 = .Ldebug_frame_end0-.Ldebug_frame_begin0 # Length of Frame Information Entry
.long .Lset10
.Ldebug_frame_begin0:
.long .Ldebug_frame_common # FDE CIE offset
.quad .Lfunc_begin0 # FDE initial location
.Lset11 = .Lfunc_end0-.Lfunc_begin0 # FDE address range
.quad .Lset11
.align 4
.Ldebug_frame_end0:
.Lset12 = .Ldebug_frame_end1-.Ldebug_frame_begin1 # Length of Frame Information Entry
.long .Lset12
.Ldebug_frame_begin1:
.long .Ldebug_frame_common # FDE CIE offset
.quad .Lfunc_begin1 # FDE initial location
.Lset13 = .Lfunc_end1-.Lfunc_begin1 # FDE address range
.quad .Lset13
.byte 4 # DW_CFA_advance_loc4
.Lset14 = .Ltmp4-.Lfunc_begin1
.long .Lset14
.byte 14 # DW_CFA_def_cfa_offset
.byte 16 # Offset
.byte 134 # DW_CFA_offset + Reg (6)
.byte 2 # Offset
.byte 4 # DW_CFA_advance_loc4
.Lset15 = .Ltmp5-.Ltmp4
.long .Lset15
.byte 13 # DW_CFA_def_cfa_register
.byte 6 # Register
.align 4
.Ldebug_frame_end1:
.section .debug_info,"",@progbits
.Linfo_begin1:
.long 197 # Length of Compilation Unit Info
.short 2 # DWARF version number
.long .Labbrev_begin # Offset Into Abbrev. Section
.byte 8 # Address Size (in bytes)
.byte 1 # Abbrev [1] 0xb:0xba DW_TAG_compile_unit
.ascii "clang version 2.9 (tags/RELEASE_29/final)" # DW_AT_producer
.byte 0
.short 12 # DW_AT_language
.ascii "dw2-restrict.c" # DW_AT_name
.byte 0
.quad 0 # DW_AT_entry_pc
.quad .Lsection_line # DW_AT_stmt_list
.ascii "/tmp" # DW_AT_comp_dir
.byte 0
.byte 2 # Abbrev [2] 0x5c:0x7 DW_TAG_base_type
.byte 5 # DW_AT_encoding
.ascii "int" # DW_AT_name
.byte 0
.byte 4 # DW_AT_byte_size
.byte 3 # Abbrev [3] 0x63:0x2f DW_TAG_subprogram
.long 146 # DW_AT_sibling
.byte 102 # DW_AT_name
.byte 0
.byte 1 # DW_AT_decl_file
.byte 19 # DW_AT_decl_line
.byte 1 # DW_AT_prototyped
.long 92 # DW_AT_type
.byte 1 # DW_AT_external
.quad .Lfunc_begin0 # DW_AT_low_pc
.quad .Lfunc_end0 # DW_AT_high_pc
.byte 1 # DW_AT_frame_base
.byte 87
.byte 1 # DW_AT_APPLE_omit_frame_ptr
.byte 4 # Abbrev [4] 0x85:0xc DW_TAG_formal_parameter
.byte 120 # DW_AT_name
.byte 0
.byte 1 # DW_AT_decl_file
.byte 18 # DW_AT_decl_line
.long 191 # DW_AT_type
.byte 2 # DW_AT_location
.byte 145
.byte 120
.byte 0 # End Of Children Mark
.byte 5 # Abbrev [5] 0x92:0x1f DW_TAG_subprogram
.ascii "main" # DW_AT_name
.byte 0
.byte 1 # DW_AT_decl_file
.byte 24 # DW_AT_decl_line
.long 92 # DW_AT_type
.byte 1 # DW_AT_external
.quad .Lfunc_begin1 # DW_AT_low_pc
.quad .Lfunc_end1 # DW_AT_high_pc
.byte 1 # DW_AT_frame_base
.byte 86
.byte 2 # Abbrev [2] 0xb1:0x8 DW_TAG_base_type
.byte 6 # DW_AT_encoding
.ascii "char" # DW_AT_name
.byte 0
.byte 1 # DW_AT_byte_size
.byte 6 # Abbrev [6] 0xb9:0x6 DW_TAG_pointer_type
.long 177 # DW_AT_type
.byte 8 # DW_AT_byte_size
.byte 7 # Abbrev [7] 0xbf:0x5 DW_TAG_restrict_type
.long 185 # DW_AT_type
.byte 0 # End Of Children Mark
.byte 0 # 4 extra padding bytes for GDB
.byte 0
.byte 0
.byte 0
.Linfo_end1:
.section .debug_abbrev,"",@progbits .section .debug_abbrev,"",@progbits
.Labbrev_begin:
.byte 1 # Abbreviation Code .byte 1 # Abbreviation Code
.byte 17 # DW_TAG_compile_unit .byte 17 # DW_TAG_compile_unit
.byte 1 # DW_CHILDREN_yes .byte 1 # DW_CHILDREN_yes
.byte 37 # DW_AT_producer .byte 37 # DW_AT_producer
.byte 8 # DW_FORM_string .byte 14 # DW_FORM_strp
.byte 19 # DW_AT_language .byte 19 # DW_AT_language
.byte 5 # DW_FORM_data2 .byte 5 # DW_FORM_data2
.byte 3 # DW_AT_name .byte 3 # DW_AT_name
.byte 8 # DW_FORM_string .byte 14 # DW_FORM_strp
.byte 82 # DW_AT_entry_pc
.byte 1 # DW_FORM_addr
.byte 16 # DW_AT_stmt_list .byte 16 # DW_AT_stmt_list
.byte 1 # DW_FORM_addr .byte 23 # DW_FORM_sec_offset
.byte 27 # DW_AT_comp_dir .byte 27 # DW_AT_comp_dir
.byte 8 # DW_FORM_string .byte 14 # DW_FORM_strp
.ascii "\264B" # DW_AT_GNU_pubnames
.byte 25 # DW_FORM_flag_present
.byte 17 # DW_AT_low_pc
.byte 1 # DW_FORM_addr
.byte 18 # DW_AT_high_pc
.byte 6 # DW_FORM_data4
.byte 0 # EOM(1) .byte 0 # EOM(1)
.byte 0 # EOM(2) .byte 0 # EOM(2)
.byte 2 # Abbreviation Code .byte 2 # Abbreviation Code
.byte 36 # DW_TAG_base_type
.byte 0 # DW_CHILDREN_no
.byte 62 # DW_AT_encoding
.byte 11 # DW_FORM_data1
.byte 3 # DW_AT_name
.byte 8 # DW_FORM_string
.byte 11 # DW_AT_byte_size
.byte 11 # DW_FORM_data1
.byte 0 # EOM(1)
.byte 0 # EOM(2)
.byte 3 # Abbreviation Code
.byte 46 # DW_TAG_subprogram .byte 46 # DW_TAG_subprogram
.byte 1 # DW_CHILDREN_yes .byte 1 # DW_CHILDREN_yes
.byte 1 # DW_AT_sibling .byte 17 # DW_AT_low_pc
.byte 19 # DW_FORM_ref4 .byte 1 # DW_FORM_addr
.byte 18 # DW_AT_high_pc
.byte 6 # DW_FORM_data4
.byte 64 # DW_AT_frame_base
.byte 24 # DW_FORM_exprloc
.byte 3 # DW_AT_name .byte 3 # DW_AT_name
.byte 8 # DW_FORM_string .byte 14 # DW_FORM_strp
.byte 58 # DW_AT_decl_file .byte 58 # DW_AT_decl_file
.byte 11 # DW_FORM_data1 .byte 11 # DW_FORM_data1
.byte 59 # DW_AT_decl_line .byte 59 # DW_AT_decl_line
.byte 11 # DW_FORM_data1 .byte 11 # DW_FORM_data1
.byte 39 # DW_AT_prototyped .byte 39 # DW_AT_prototyped
.byte 12 # DW_FORM_flag .byte 25 # DW_FORM_flag_present
.byte 73 # DW_AT_type .byte 73 # DW_AT_type
.byte 19 # DW_FORM_ref4 .byte 19 # DW_FORM_ref4
.byte 63 # DW_AT_external .byte 63 # DW_AT_external
.byte 12 # DW_FORM_flag .byte 25 # DW_FORM_flag_present
.byte 17 # DW_AT_low_pc .byte 0 # EOM(1)
.byte 1 # DW_FORM_addr .byte 0 # EOM(2)
.byte 18 # DW_AT_high_pc .byte 3 # Abbreviation Code
.byte 1 # DW_FORM_addr .byte 5 # DW_TAG_formal_parameter
.byte 64 # DW_AT_frame_base .byte 0 # DW_CHILDREN_no
.byte 10 # DW_FORM_block1 .byte 2 # DW_AT_location
.ascii "\347\177" # DW_AT_APPLE_omit_frame_ptr .byte 24 # DW_FORM_exprloc
.byte 12 # DW_FORM_flag .byte 3 # DW_AT_name
.byte 14 # DW_FORM_strp
.byte 58 # DW_AT_decl_file
.byte 11 # DW_FORM_data1
.byte 59 # DW_AT_decl_line
.byte 11 # DW_FORM_data1
.byte 73 # DW_AT_type
.byte 19 # DW_FORM_ref4
.byte 0 # EOM(1) .byte 0 # EOM(1)
.byte 0 # EOM(2) .byte 0 # EOM(2)
.byte 4 # Abbreviation Code .byte 4 # Abbreviation Code
.byte 5 # DW_TAG_formal_parameter
.byte 0 # DW_CHILDREN_no
.byte 3 # DW_AT_name
.byte 8 # DW_FORM_string
.byte 58 # DW_AT_decl_file
.byte 11 # DW_FORM_data1
.byte 59 # DW_AT_decl_line
.byte 11 # DW_FORM_data1
.byte 73 # DW_AT_type
.byte 19 # DW_FORM_ref4
.byte 2 # DW_AT_location
.byte 10 # DW_FORM_block1
.byte 0 # EOM(1)
.byte 0 # EOM(2)
.byte 5 # Abbreviation Code
.byte 46 # DW_TAG_subprogram .byte 46 # DW_TAG_subprogram
.byte 0 # DW_CHILDREN_no .byte 0 # DW_CHILDREN_no
.byte 17 # DW_AT_low_pc
.byte 1 # DW_FORM_addr
.byte 18 # DW_AT_high_pc
.byte 6 # DW_FORM_data4
.byte 64 # DW_AT_frame_base
.byte 24 # DW_FORM_exprloc
.byte 3 # DW_AT_name .byte 3 # DW_AT_name
.byte 8 # DW_FORM_string .byte 14 # DW_FORM_strp
.byte 58 # DW_AT_decl_file .byte 58 # DW_AT_decl_file
.byte 11 # DW_FORM_data1 .byte 11 # DW_FORM_data1
.byte 59 # DW_AT_decl_line .byte 59 # DW_AT_decl_line
@ -368,59 +181,123 @@ main: # @main
.byte 73 # DW_AT_type .byte 73 # DW_AT_type
.byte 19 # DW_FORM_ref4 .byte 19 # DW_FORM_ref4
.byte 63 # DW_AT_external .byte 63 # DW_AT_external
.byte 12 # DW_FORM_flag .byte 25 # DW_FORM_flag_present
.byte 17 # DW_AT_low_pc
.byte 1 # DW_FORM_addr
.byte 18 # DW_AT_high_pc
.byte 1 # DW_FORM_addr
.byte 64 # DW_AT_frame_base
.byte 10 # DW_FORM_block1
.byte 0 # EOM(1) .byte 0 # EOM(1)
.byte 0 # EOM(2) .byte 0 # EOM(2)
.byte 6 # Abbreviation Code .byte 5 # Abbreviation Code
.byte 15 # DW_TAG_pointer_type .byte 36 # DW_TAG_base_type
.byte 0 # DW_CHILDREN_no .byte 0 # DW_CHILDREN_no
.byte 73 # DW_AT_type .byte 3 # DW_AT_name
.byte 19 # DW_FORM_ref4 .byte 14 # DW_FORM_strp
.byte 62 # DW_AT_encoding
.byte 11 # DW_FORM_data1
.byte 11 # DW_AT_byte_size .byte 11 # DW_AT_byte_size
.byte 11 # DW_FORM_data1 .byte 11 # DW_FORM_data1
.byte 0 # EOM(1) .byte 0 # EOM(1)
.byte 0 # EOM(2) .byte 0 # EOM(2)
.byte 7 # Abbreviation Code .byte 6 # Abbreviation Code
.byte 55 # DW_TAG_restrict_type .byte 55 # DW_TAG_restrict_type
.byte 0 # DW_CHILDREN_no .byte 0 # DW_CHILDREN_no
.byte 73 # DW_AT_type .byte 73 # DW_AT_type
.byte 19 # DW_FORM_ref4 .byte 19 # DW_FORM_ref4
.byte 0 # EOM(1) .byte 0 # EOM(1)
.byte 0 # EOM(2) .byte 0 # EOM(2)
.byte 7 # Abbreviation Code
.byte 15 # DW_TAG_pointer_type
.byte 0 # DW_CHILDREN_no
.byte 73 # DW_AT_type
.byte 19 # DW_FORM_ref4
.byte 0 # EOM(1)
.byte 0 # EOM(2)
.byte 0 # EOM(3) .byte 0 # EOM(3)
.Labbrev_end: .section .debug_info,"",@progbits
.section .debug_pubnames,"",@progbits .Lcu_begin0:
.Lset16 = .Lpubnames_end1-.Lpubnames_begin1 # Length of Public Names Info .long 128 # Length of Unit
.long .Lset16 .short 4 # DWARF version number
.Lpubnames_begin1: .long .debug_abbrev # Offset Into Abbrev. Section
.short 2 # DWARF Version .byte 8 # Address Size (in bytes)
.long .Linfo_begin1 # Offset of Compilation Unit Info .byte 1 # Abbrev [1] 0xb:0x79 DW_TAG_compile_unit
.Lset17 = .Linfo_end1-.Linfo_begin1 # Compilation Unit Length .long .Linfo_string0 # DW_AT_producer
.long .Lset17 .short 12 # DW_AT_language
.long 146 # DIE offset .long .Linfo_string1 # DW_AT_name
.asciz "main" # External Name .long .Lline_table_start0 # DW_AT_stmt_list
.long 99 # DIE offset .long .Linfo_string2 # DW_AT_comp_dir
.asciz "f" # External Name # DW_AT_GNU_pubnames
.long 0 # End Mark .quad .Lfunc_begin0 # DW_AT_low_pc
.Lpubnames_end1: .long .Lfunc_end1-.Lfunc_begin0 # DW_AT_high_pc
.section .debug_pubtypes,"",@progbits .byte 2 # Abbrev [2] 0x2a:0x28 DW_TAG_subprogram
.Lset18 = .Lpubtypes_end1-.Lpubtypes_begin1 # Length of Public Types Info .quad .Lfunc_begin0 # DW_AT_low_pc
.long .Lset18 .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc
.Lpubtypes_begin1: .byte 1 # DW_AT_frame_base
.short 2 # DWARF Version .byte 86
.long .Linfo_begin1 # Offset of Compilation Unit Info .long .Linfo_string3 # DW_AT_name
.Lset19 = .Linfo_end1-.Linfo_begin1 # Compilation Unit Length .byte 1 # DW_AT_decl_file
.long .Lset19 .byte 18 # DW_AT_decl_line
.long 0 # End Mark # DW_AT_prototyped
.Lpubtypes_end1: .long 107 # DW_AT_type
.section .debug_aranges,"",@progbits # DW_AT_external
.byte 3 # Abbrev [3] 0x43:0xe DW_TAG_formal_parameter
.byte 2 # DW_AT_location
.byte 145
.byte 120
.long .Linfo_string6 # DW_AT_name
.byte 1 # DW_AT_decl_file
.byte 18 # DW_AT_decl_line
.long 114 # DW_AT_type
.byte 0 # End Of Children Mark
.byte 4 # Abbrev [4] 0x52:0x19 DW_TAG_subprogram
.quad .Lfunc_begin1 # DW_AT_low_pc
.long .Lfunc_end1-.Lfunc_begin1 # DW_AT_high_pc
.byte 1 # DW_AT_frame_base
.byte 86
.long .Linfo_string5 # DW_AT_name
.byte 1 # DW_AT_decl_file
.byte 23 # DW_AT_decl_line
.long 107 # DW_AT_type
# DW_AT_external
.byte 5 # Abbrev [5] 0x6b:0x7 DW_TAG_base_type
.long .Linfo_string4 # DW_AT_name
.byte 5 # DW_AT_encoding
.byte 4 # DW_AT_byte_size
.byte 6 # Abbrev [6] 0x72:0x5 DW_TAG_restrict_type
.long 119 # DW_AT_type
.byte 7 # Abbrev [7] 0x77:0x5 DW_TAG_pointer_type
.long 124 # DW_AT_type
.byte 5 # Abbrev [5] 0x7c:0x7 DW_TAG_base_type
.long .Linfo_string7 # DW_AT_name
.byte 6 # DW_AT_encoding
.byte 1 # DW_AT_byte_size
.byte 0 # End Of Children Mark
.section .debug_ranges,"",@progbits .section .debug_ranges,"",@progbits
.section .debug_macinfo,"",@progbits .section .debug_macinfo,"",@progbits
.Lcu_macro_begin0:
.byte 0 # End Of Macro List Mark
.section .debug_pubnames,"",@progbits
.long .LpubNames_end0-.LpubNames_begin0 # Length of Public Names Info
.LpubNames_begin0:
.short 2 # DWARF Version
.long .Lcu_begin0 # Offset of Compilation Unit Info
.long 132 # Compilation Unit Length
.long 82 # DIE offset
.asciz "main" # External Name
.long 42 # DIE offset
.asciz "f" # External Name
.long 0 # End Mark
.LpubNames_end0:
.section .debug_pubtypes,"",@progbits
.long .LpubTypes_end0-.LpubTypes_begin0 # Length of Public Types Info
.LpubTypes_begin0:
.short 2 # DWARF Version
.long .Lcu_begin0 # Offset of Compilation Unit Info
.long 132 # Compilation Unit Length
.long 107 # DIE offset
.asciz "int" # External Name
.long 124 # DIE offset
.asciz "char" # External Name
.long 0 # End Mark
.LpubTypes_end0:
.ident "clang version 5.0.1 (tags/RELEASE_501/final 312548)"
.section ".note.GNU-stack","",@progbits .section ".note.GNU-stack","",@progbits
.section .debug_line,"",@progbits
.Lline_table_start0: