blob: d840e5ee1a5b8ed3a4e9355a94f459aaedc4a71a [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
Rafael Espindola014180d2011-08-04 13:39:15 +000010// CHECK: # Section 4
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: ),