1 // RUN: llvm-mc -triple x86_64-apple-darwin9 %s -filetype=obj -o - | macho-dump | 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_name', '__debug_line\x00\x00\x00\x00') 14 // CHECK-NEXT: ('segment_name', '__DWARF\x00\x00\x00\x00\x00\x00\x00\x00\x00') 15 // CHECK-NEXT: ('address', 4) 16 // CHECK-NEXT: ('size', 44) 17 // CHECK-NEXT: ('offset', 452) 18 // CHECK-NEXT: ('alignment', 0) 19 // CHECK-NEXT: ('reloc_offset', 0) 20 // CHECK-NEXT: ('num_reloc', 0) 21 // CHECK-NEXT: ('flags', 0x2000000) 22 // CHECK-NEXT: ('reserved1', 0) 23 // CHECK-NEXT: ('reserved2', 0) 24 // CHECK-NEXT: ('reserved3', 0) 25 // CHECK-NEXT: ), 26