File: verbose.test

package info (click to toggle)
llvm-toolchain-9 1%3A9.0.1-16.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 882,388 kB
  • sloc: cpp: 4,167,636; ansic: 714,256; asm: 457,610; python: 155,927; objc: 65,094; sh: 42,856; lisp: 26,908; perl: 7,786; pascal: 7,722; makefile: 6,881; ml: 5,581; awk: 3,648; cs: 2,027; xml: 888; javascript: 381; ruby: 156
file content (25 lines) | stat: -rw-r--r-- 1,043 bytes parent folder | download | duplicates (2)
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: