File: verbose.test

package info (click to toggle)
llvm-toolchain-16 1%3A16.0.6-15~deb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,634,792 kB
  • sloc: cpp: 6,179,261; ansic: 1,216,205; asm: 741,319; python: 196,614; objc: 75,325; f90: 49,640; lisp: 32,396; pascal: 12,286; sh: 9,394; perl: 7,442; ml: 5,494; awk: 3,523; makefile: 2,723; javascript: 1,206; xml: 886; fortran: 581; cs: 573
file content (32 lines) | stat: -rw-r--r-- 1,717 bytes parent folder | download | duplicates (6)
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
26
27
28
29
30
31
32
# RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o %t.o
# RUN: llvm-dwarfdump -v --debug-info --debug-line %t.o | \
# RUN:   FileCheck %s --match-full-lines --strict-whitespace

#   CHECK-NOT:{{.*}} contents:

#       CHECK:.debug_info contents:
#       CHECK:0x0000000b: DW_TAG_compile_unit [1] *
#       CHECK:              DW_AT_name [DW_FORM_strp]	( .debug_str[0x{{.*}}] = "brief.c")
#       CHECK:0x0000002a:   DW_TAG_subprogram [2]   (0x0000000b)
#       CHECK:                DW_AT_name [DW_FORM_strp]	( .debug_str[0x{{.*}}] = "main")
#       CHECK:0x00000043:   DW_TAG_base_type [3]   (0x0000000b)
#  CHECK-NEXT:                DW_AT_name [DW_FORM_strp]	( .debug_str[0x{{.*}}] = "int")

#       CHECK:.debug_line contents:
#       CHECK:         length: 0x00000000
# CHECK-EMPTY:
#  CHECK-NEXT:            Address            Line   Column File   ISA Discriminator Flags
#  CHECK-NEXT:            ------------------ ------ ------ ------ --- ------------- -------------
#  CHECK-NEXT:0x00000029: 00 DW_LNE_set_address (0x0000000000000000)
#  CHECK-NEXT:0x00000034: 01 DW_LNS_copy
#  CHECK-NEXT:            0x0000000000000000      1      0      1   0             0  is_stmt
#  CHECK-NEXT:0x00000035: 05 DW_LNS_set_column (12)
#  CHECK-NEXT:0x00000037: 0a DW_LNS_set_prologue_end
#  CHECK-NEXT:0x00000038: 66 address += 6,  line += 0
#  CHECK-NEXT:            0x0000000000000006      1     12      1   0             0  is_stmt prologue_end
#  CHECK-NEXT:0x00000039: 02 DW_LNS_advance_pc (2)
#  CHECK-NEXT:0x0000003b: 00 DW_LNE_end_sequence
#  CHECK-NEXT:            0x0000000000000008      1     12      1   0             0  is_stmt end_sequence
# CHECK-EMPTY:

#   CHECK-NOT:{{.*}} contents: