• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -S - | FileCheck %s
2
3// Test that the dwarf debug_line section contains no line directives.
4
5        .file   1 "test.c"
6        .globl  c
7c:
8        .asciz   "hi\n"
9
10// CHECK:        Section {
11// CHECK:          Index:
12// CHECK:          Name: .debug_line
13// CHECK-NEXT:     Type: SHT_PROGBITS
14// CHECK-NEXT:     Flags [
15// CHECK-NEXT:     ]
16// CHECK-NEXT:     Address: 0x0
17// CHECK-NEXT:     Offset: 0x44
18// CHECK-NEXT:     Size: 40
19// CHECK-NEXT:     Link: 0
20// CHECK-NEXT:     Info: 0
21// CHECK-NEXT:     AddressAlignment: 1
22// CHECK-NEXT:     EntrySize: 0
23// CHECK-NEXT:   }
24