1 .text 2 .file "subprogram_ranges.c" 3 .globl main # -- Begin function main 4 .p2align 4, 0x90 5 .type main,@function 6main: # @main 7.Lfunc_begin0: 8 .file 1 "/usr/local/google/home/blaikie/dev/scratch" "subprogram_ranges.c" 9 .loc 1 2 0 # subprogram_ranges.c:2:0 10 .cfi_startproc 11# %bb.0: # %entry 12 #DEBUG_VALUE: main:var <- 3 13 .loc 1 4 5 prologue_end # subprogram_ranges.c:4:5 14 movl $1, i(%rip) 15.Ltmp0: 16 #DEBUG_VALUE: main:var <- 5 17 .loc 1 6 5 # subprogram_ranges.c:6:5 18 movl $2, i(%rip) 19 .loc 1 7 1 # subprogram_ranges.c:7:1 20 xorl %eax, %eax 21 retq 22.Ltmp1: 23.Lfunc_end0: 24 .size main, .Lfunc_end0-main 25 .cfi_endproc 26 # -- End function 27 .type i,@object # @i 28 .bss 29 .globl i 30 .p2align 2 31i: 32 .long 0 # 0x0 33 .size i, 4 34 35 .section .debug_loc,"",@progbits 36.Ldebug_loc0: 37 .quad .Lfunc_begin0-.Lfunc_begin0 38 .quad .Ltmp0-.Lfunc_begin0 39 .short 3 # Loc expr size 40 .byte 17 # DW_OP_consts 41 .byte 3 # 3 42 .byte 159 # DW_OP_stack_value 43 .quad .Ltmp0-.Lfunc_begin0 44 .quad .Lfunc_end0-.Lfunc_begin0 45 .short 3 # Loc expr size 46 .byte 17 # DW_OP_consts 47 .byte 5 # 5 48 .byte 159 # DW_OP_stack_value 49 .quad 0 50 .quad 0 51 .section .debug_abbrev,"",@progbits 52 .byte 1 # Abbreviation Code 53 .byte 17 # DW_TAG_compile_unit 54 .byte 1 # DW_CHILDREN_yes 55 .byte 37 # DW_AT_producer 56 .byte 14 # DW_FORM_strp 57 .byte 19 # DW_AT_language 58 .byte 5 # DW_FORM_data2 59 .byte 3 # DW_AT_name 60 .byte 14 # DW_FORM_strp 61 .byte 16 # DW_AT_stmt_list 62 .byte 23 # DW_FORM_sec_offset 63 .byte 27 # DW_AT_comp_dir 64 .byte 14 # DW_FORM_strp 65 .byte 17 # DW_AT_low_pc 66 .byte 1 # DW_FORM_addr 67 .byte 18 # DW_AT_high_pc 68 .byte 6 # DW_FORM_data4 69 .byte 0 # EOM(1) 70 .byte 0 # EOM(2) 71 .byte 2 # Abbreviation Code 72 .byte 46 # DW_TAG_subprogram 73 .byte 1 # DW_CHILDREN_yes 74 .byte 85 # DW_AT_ranges 75 .byte 23 # DW_FORM_sec_offset 76 .byte 64 # DW_AT_frame_base 77 .byte 24 # DW_FORM_exprloc 78 .ascii "\227B" # DW_AT_GNU_all_call_sites 79 .byte 25 # DW_FORM_flag_present 80 .byte 3 # DW_AT_name 81 .byte 14 # DW_FORM_strp 82 .byte 58 # DW_AT_decl_file 83 .byte 11 # DW_FORM_data1 84 .byte 59 # DW_AT_decl_line 85 .byte 11 # DW_FORM_data1 86 .byte 73 # DW_AT_type 87 .byte 19 # DW_FORM_ref4 88 .byte 63 # DW_AT_external 89 .byte 25 # DW_FORM_flag_present 90 .byte 0 # EOM(1) 91 .byte 0 # EOM(2) 92 .byte 3 # Abbreviation Code 93 .byte 52 # DW_TAG_variable 94 .byte 0 # DW_CHILDREN_no 95 .byte 2 # DW_AT_location 96 .byte 23 # DW_FORM_sec_offset 97 .byte 3 # DW_AT_name 98 .byte 14 # DW_FORM_strp 99 .byte 58 # DW_AT_decl_file 100 .byte 11 # DW_FORM_data1 101 .byte 59 # DW_AT_decl_line 102 .byte 11 # DW_FORM_data1 103 .byte 73 # DW_AT_type 104 .byte 19 # DW_FORM_ref4 105 .byte 0 # EOM(1) 106 .byte 0 # EOM(2) 107 .byte 4 # Abbreviation Code 108 .byte 36 # DW_TAG_base_type 109 .byte 0 # DW_CHILDREN_no 110 .byte 3 # DW_AT_name 111 .byte 14 # DW_FORM_strp 112 .byte 62 # DW_AT_encoding 113 .byte 11 # DW_FORM_data1 114 .byte 11 # DW_AT_byte_size 115 .byte 11 # DW_FORM_data1 116 .byte 0 # EOM(1) 117 .byte 0 # EOM(2) 118 .byte 0 # EOM(3) 119 .section .debug_info,"",@progbits 120.Lcu_begin0: 121 .long .Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit 122.Ldebug_info_start0: 123 .short 4 # DWARF version number 124 .long .debug_abbrev # Offset Into Abbrev. Section 125 .byte 8 # Address Size (in bytes) 126 .byte 1 # Abbrev [1] 0xb:0x48 DW_TAG_compile_unit 127 .long .Linfo_string0 # DW_AT_producer 128 .short 12 # DW_AT_language 129 .long .Linfo_string1 # DW_AT_name 130 .long .Lline_table_start0 # DW_AT_stmt_list 131 .long .Linfo_string2 # DW_AT_comp_dir 132 .quad .Lfunc_begin0 # DW_AT_low_pc 133 .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc 134 .byte 2 # Abbrev [2] 0x2a:0x21 DW_TAG_subprogram 135 .long .Ldebug_ranges0 # DW_AT_ranges 136 .byte 1 # DW_AT_frame_base 137 .byte 87 138 # DW_AT_GNU_all_call_sites 139 .long .Linfo_string3 # DW_AT_name 140 .byte 1 # DW_AT_decl_file 141 .byte 2 # DW_AT_decl_line 142 .long 75 # DW_AT_type 143 # DW_AT_external 144 .byte 3 # Abbrev [3] 0x3b:0xf DW_TAG_variable 145 .long .Ldebug_loc0 # DW_AT_location 146 .long .Linfo_string5 # DW_AT_name 147 .byte 1 # DW_AT_decl_file 148 .byte 3 # DW_AT_decl_line 149 .long 75 # DW_AT_type 150 .byte 0 # End Of Children Mark 151 .byte 4 # Abbrev [4] 0x4b:0x7 DW_TAG_base_type 152 .long .Linfo_string4 # DW_AT_name 153 .byte 5 # DW_AT_encoding 154 .byte 4 # DW_AT_byte_size 155 .byte 0 # End Of Children Mark 156.Ldebug_info_end0: 157 .section .debug_ranges,"",@progbits 158.Ldebug_ranges0: 159 .quad .Lfunc_begin0-.Lfunc_begin0 160 .quad .Lfunc_end0-.Lfunc_begin0 161 .quad 0 162 .quad 0 163 .section .debug_str,"MS",@progbits,1 164.Linfo_string0: 165 .asciz "clang version 12.0.0 (git@github.com:llvm/llvm-project.git 439e8f6c05584c36ea3f79d9b83a78098d40e629)" # string offset=0 166.Linfo_string1: 167 .asciz "subprogram_ranges.c" # string offset=101 168.Linfo_string2: 169 .asciz "/usr/local/google/home/blaikie/dev/scratch" # string offset=121 170.Linfo_string3: 171 .asciz "main" # string offset=164 172.Linfo_string4: 173 .asciz "int" # string offset=169 174.Linfo_string5: 175 .asciz "var" # string offset=173 176 .ident "clang version 12.0.0 (git@github.com:llvm/llvm-project.git 439e8f6c05584c36ea3f79d9b83a78098d40e629)" 177 .section ".note.GNU-stack","",@progbits 178 .addrsig 179 .addrsig_sym i 180 .section .debug_line,"",@progbits 181.Lline_table_start0: 182