blob: 81d98711e9d11ed20f4ffdd28f75d23482190344 [file] [log] [blame]
Rafael Espindola767b1be2010-12-04 00:31:13 +00001// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump | 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 0x00000004
11// CHECK-NEXT: (('sh_name', 0x00000012) # '.debug_line'
Rafael Espindolaf7fd4aa2010-12-10 04:01:09 +000012// CHECK-NEXT: ('sh_type', 0x00000000)
Rafael Espindola767b1be2010-12-04 00:31:13 +000013// CHECK-NEXT: ('sh_flags', 0x00000000)
14// CHECK-NEXT: ('sh_addr', 0x00000000)
15// CHECK-NEXT: ('sh_offset', 0x00000044)
16// CHECK-NEXT: ('sh_size', 0x00000027)
17// CHECK-NEXT: ('sh_link', 0x00000000)
18// CHECK-NEXT: ('sh_info', 0x00000000)
19// CHECK-NEXT: ('sh_addralign', 0x00000001)
20// CHECK-NEXT: ('sh_entsize', 0x00000000)
21// CHECK-NEXT: ),