DebugInfo: Move new hierarchy into place
[oota-llvm.git] / test / DebugInfo / ARM / sectionorder.ll
1 ; RUN: llc  -filetype=asm %s -o - | FileCheck %s
2
3 ; Verifies that the DWARF* sections come _after_ the __TEXT sections.
4 ; rdar://problem/15623193
5
6 ; CHECK: .section       __TEXT,__text,
7 ; CHECK-NOT: __DWARF,__debug
8 ; CHECK: .section       __TEXT,__cstring,cstring_literals
9 target triple = "thumbv7-apple-ios"
10
11 !llvm.module.flags = !{!3, !4}
12 !llvm.dbg.cu = !{!0}
13
14 !0 = !MDCompileUnit(language: DW_LANG_C99, producer: "LLVM", isOptimized: true, file: !5, enums: !1, retainedTypes: !1, subprograms: !1, globals: !1)
15 !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")