122 lines · plain
1# RUN: llvm-mc %s -filetype obj -triple i686-pc-linux -o %t2# RUN: llvm-dwarfdump %t | FileCheck %s3 4# CHECK: DW_TAG_subprogram5# CHECK-NEXT: DW_AT_external (true)6# CHECK-NEXT: DW_AT_name ("fn4")7# CHECK-NEXT: DW_AT_linkage_name ("test")8# CHECK-NEXT: DW_AT_low_pc (0x00000000)9# CHECK-NEXT: DW_AT_high_pc (0x00000000)10# CHECK-NEXT: DW_AT_frame_base (DW_OP_call_frame_cfa)11# CHECK-NEXT: DW_AT_GNU_all_call_sites (true)12 13# CHECK: DW_TAG_GNU_call_site14# CHECK-NEXT: DW_AT_low_pc (0x00000000)15# CHECK-NEXT: DW_AT_abstract_origin (0x00000021 "test")16 17# CHECK: DW_TAG_GNU_call_site_parameter18# CHECK-NEXT: DW_AT_location (DW_OP_reg0 EAX)19# CHECK-NEXT: DW_AT_GNU_call_site_value (DW_OP_addr 0x0)20 21.section .debug_info,"",@progbits22 .long 0x4723 .value 0x424 .long 025 .byte 0x426 27 .uleb128 0x1 # DW_TAG_compile_unit [1]28 .long 029 .byte 0x030 .long 031 .long 032 .long 033 .long 034 35 .uleb128 0xe # DW_TAG_subprogram [14]36 .string "fn4"37 .long 038 .long 039 .long 040 .uleb128 0x1 # DW_AT_GNU_all_call_sites41 .byte 0x9c42 43 .uleb128 0x12 # DW_TAG_GNU_call_site [18]44 .long 0x045 .long 0x2146 47 .uleb128 0x13 # DW_TAG_GNU_call_site_parameter [19]48 .uleb128 0x149 .byte 0x5050 .uleb128 0x551 .byte 0x352 .long X53 .byte 054 .byte 055 .byte 056 57 .byte 058 .byte 059 60.section .debug_abbrev,"",@progbits61 .uleb128 0x162 .uleb128 0x11 # DW_TAG_compile_unit, DW_CHILDREN_yes63 .byte 0x164 .uleb128 0x25 # DW_AT_producer, DW_FORM_strp65 .uleb128 0xe66 .uleb128 0x13 # DW_AT_language, DW_FORM_data167 .uleb128 0xb68 .uleb128 0x3 # DW_AT_name, DW_FORM_strp69 .uleb128 0xe70 .uleb128 0x1b # DW_AT_comp_dir, DW_FORM_strp71 .uleb128 0xe72 .uleb128 0x11 # DW_AT_low_pc, DW_FORM_addr73 .uleb128 0x174 .uleb128 0x12 # DW_AT_high_pc, DW_FORM_data475 .uleb128 0x676 .byte 077 .byte 078 79 .uleb128 0xe # [14]80 .uleb128 0x2e # DW_TAG_subprogram, DW_CHILDREN_yes81 .byte 0x182 .uleb128 0x3f # DW_AT_external, DW_FORM_flag_present83 .uleb128 0x1984 .uleb128 0x3 # DW_AT_name, DW_FORM_string85 .uleb128 0x886 .uleb128 0x6e # DW_AT_linkage_name, DW_FORM_strp87 .uleb128 0xe88 .uleb128 0x11 # DW_AT_low_pc, DW_FORM_addr89 .uleb128 0x190 .uleb128 0x12 # DW_AT_high_pc, DW_FORM_data491 .uleb128 0x692 .uleb128 0x40 # DW_AT_frame_base, DW_FORM_exprloc93 .uleb128 0x1894 .uleb128 0x2117 # DW_AT_GNU_all_call_sites, DW_FORM_flag_present95 .uleb128 0x1996 .byte 097 .byte 098 99 .uleb128 0x12 # [18]100 .uleb128 0x4109 # DW_TAG_GNU_call_site, DW_CHILDREN_yes101 .byte 0x1102 .uleb128 0x11 # DW_AT_low_pc, DW_FORM_addr103 .uleb128 0x1104 .uleb128 0x31 # DW_AT_abstract_origin, DW_FORM_ref4105 .uleb128 0x13106 .byte 0107 .byte 0108 109 .uleb128 0x13 # [19]110 .uleb128 0x410a # DW_TAG_GNU_call_site_parameter, DW_CHILDREN_no111 .byte 0112 .uleb128 0x2 # DW_AT_location, DW_FORM_exprloc113 .uleb128 0x18114 .uleb128 0x2111 # DW_AT_GNU_call_site_value, DW_FORM_exprloc115 .uleb128 0x18116 .byte 0117 .byte 0118 .byte 0119 120.section .debug_str,"MS",@progbits,1121.string "test"122