1 # RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \ 2 # RUN: | llvm-dwarfdump -v --debug-info --debug-line - \ 3 # RUN: | FileCheck %s 4 5 # CHECK-NOT: .debug_abbrev contents: 6 7 # CHECK: .debug_info contents: 8 # CHECK: DW_TAG_compile_unit [1] 9 # CHECK: DW_AT_name [DW_FORM_strp] ( .debug_str[0x{{.*}}] = "brief.c") 10 # CHECK: DW_AT_name [DW_FORM_strp] ( .debug_str[0x{{.*}}] = "main") 11 # CHECK: DW_AT_name [DW_FORM_strp] ( .debug_str[0x{{.*}}] = "int") 12 13 # CHECK: .debug_line contents: 14 # CHECK: 00 DW_LNE_set_address (0x0000000000000000) 15 # CHECK: 01 DW_LNS_copy 16 # CHECK: 0x0000000000000000 1 0 1 0 0 is_stmt 17 # CHECK: 05 DW_LNS_set_column (12) 18 # CHECK: 0a DW_LNS_set_prologue_end 19 # CHECK: 66 address += 89, line += 0 20 # CHECK: 0x0000000000000006 1 12 1 0 0 is_stmt prologue_end 21 # CHECK: 02 DW_LNS_advance_pc (2) 22 # CHECK: 00 DW_LNE_end_sequence 23 # CHECK: 0x0000000000000008 1 12 1 0 0 is_stmt end_sequence 24 # 25 # CHECK-NOT: {{.*}} contents: 26