1 ; RUN: llc -filetype=asm %s -o - | FileCheck %s
3 ; Verifies that the DWARF* sections come _after_ the __TEXT sections.
4 ; rdar://problem/15623193
6 ; CHECK: .section __TEXT,__text,
7 ; CHECK-NOT: __DWARF,__debug
8 ; CHECK: .section __TEXT,__cstring,cstring_literals
9 target triple = "thumbv7-apple-ios"
11 !llvm.module.flags = !{!3, !4}
14 !0 = !MDCompileUnit(language: DW_LANG_C99, producer: "LLVM", isOptimized: true, file: !5, enums: !1, retainedTypes: !1, subprograms: !1, globals: !1)
16 !3 = !{i32 2, !"Dwarf Version", i32 2}
17 !4 = !{i32 1, !"Debug Info Version", i32 3}
18 !5 = !MDFile(filename: "test.c", directory: "/Volumes/Data/radar/15623193")