remove function names from comments; NFC
[oota-llvm.git] / test / MC / MachO / empty-dwarf-lines.s
1 // RUN: llvm-mc -triple x86_64-apple-darwin9 %s -filetype=obj -o - | llvm-readobj -s | FileCheck %s
2
3 // This tests that when producing files for darwin9 or older we make sure
4 // that debug_line sections are of a minimum size to avoid the linker bug
5 // described in PR8715.
6
7         .section        __DATA,__data
8         .file   1 "test.c"
9         .globl  _c                      ## @c
10 _c:
11         .asciz   "hi\n"
12
13 // CHECK:       Section {
14 // CHECK:         Index: 2
15 // CHECK-NEXT:    Name: __debug_line
16 // CHECK-NEXT:    Segment: __DWARF
17 // CHECK-NEXT:    Address: 0x4
18 // CHECK-NEXT:    Size: 0x2C
19 // CHECK-NEXT:    Offset: 452
20 // CHECK-NEXT:    Alignment: 0
21 // CHECK-NEXT:    RelocationOffset: 0x0
22 // CHECK-NEXT:    RelocationCount: 0
23 // CHECK-NEXT:    Type: 0x0
24 // CHECK-NEXT:    Attributes [ (0x20000)
25 // CHECK-NEXT:      Debug (0x20000)
26 // CHECK-NEXT:    ]
27 // CHECK-NEXT:    Reserved1: 0x0
28 // CHECK-NEXT:    Reserved2: 0x0
29 // CHECK-NEXT:  }