blob: 241580bb3b83c5b33f44f36ba2574e2191dbe7af [file] [log] [blame]
Nico Rieckba848e32013-04-12 04:06:46 +00001// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -s | FileCheck %s
Rafael Espindola1048e752010-12-04 00:31:13 +00002
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
Nico Rieckba848e32013-04-12 04:06:46 +000010// CHECK: Section {
11// CHECK: Index: 4
12// CHECK-NEXT: 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: 39
19// CHECK-NEXT: Link: 0
20// CHECK-NEXT: Info: 0
21// CHECK-NEXT: AddressAlignment: 1
22// CHECK-NEXT: EntrySize: 0
23// CHECK-NEXT: }