blob: 1b135a677ddc024e85ca1668dfef53328110b1cf [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
Rafael Espindola9974b8b2011-04-07 23:51:25 +000011// CHECK-NEXT: (('sh_name', 0x0000000c) # '.debug_line'
Rafael Espindola89b93722010-12-10 07:39:47 +000012// CHECK-NEXT: ('sh_type', 0x00000001)
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: ),