reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
# RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \
# RUN: | llvm-dwarfdump -v --debug-info --debug-line - \
# RUN: | FileCheck %s

# CHECK-NOT: .debug_abbrev contents:

# CHECK: .debug_info contents:
# CHECK: DW_TAG_compile_unit [1]
# CHECK: DW_AT_name [DW_FORM_strp] ( .debug_str[0x{{.*}}] = "brief.c")
# CHECK: DW_AT_name [DW_FORM_strp]       ( .debug_str[0x{{.*}}] = "main")
# CHECK: DW_AT_name [DW_FORM_strp]       ( .debug_str[0x{{.*}}] = "int")

# CHECK: .debug_line contents:
# CHECK: 00 DW_LNE_set_address (0x0000000000000000)
# CHECK: 01 DW_LNS_copy
# CHECK: 0x0000000000000000      1      0      1   0             0  is_stmt
# CHECK: 05 DW_LNS_set_column (12)
# CHECK: 0a DW_LNS_set_prologue_end
# CHECK: 66 address += 6,  line += 0
# CHECK: 0x0000000000000006      1     12      1   0             0  is_stmt prologue_end
# CHECK: 02 DW_LNS_advance_pc (2)
# CHECK: 00 DW_LNE_end_sequence
# CHECK: 0x0000000000000008      1     12      1   0             0  is_stmt end_sequence
#
# CHECK-NOT: {{.*}} contents: