ARM: Enable use of relocation type tlsldo in debug info for tls data.
[oota-llvm.git] / test / DebugInfo / cu-ranges.ll
index 794100cdec87f9611d4bc037629f681640eb3bf2..0dd422d793dbf0948a31274cf2422ae3e0cb1a1e 100644 (file)
@@ -1,5 +1,5 @@
 ; REQUIRES: object-emission
-; RUN: llc -O0 -filetype=obj -generate-dwarf-cu-ranges %s -o %t
+; RUN: %llc_dwarf -O0 -filetype=obj -generate-dwarf-cu-ranges %s -o %t
 ; RUN: llvm-dwarfdump %t | FileCheck %s
 
 ; Check that we emit ranges for this when the -generate-dwarf-cu-ranges flag is passed.
@@ -11,7 +11,6 @@
 ; CHECK: .debug_ranges contents:
 ; FIXME: When we get better dumping facilities we'll want to elaborate here.
 ; CHECK: 00000000 <End of list>
-; CHECK: 00000010 <End of list>
 
 ; Function Attrs: nounwind uwtable
 define i32 @f(i32 %a) #0 {
@@ -36,7 +35,7 @@ attributes #1 = { nounwind readnone }
 
 !0 = metadata !{i32 786449, metadata !1, i32 12, metadata !"clang version 3.5 (trunk 197756) (llvm/trunk 197768)", i1 false, metadata !"", i32 0, metadata !2, metadata !2, metadata !3, metadata !2, metadata !2, metadata !""} ; [ DW_TAG_compile_unit ] [/usr/local/google/home/echristo/tmp/foo.c] [DW_LANG_C99]
 !1 = metadata !{metadata !"foo.c", metadata !"/usr/local/google/home/echristo/tmp"}
-!2 = metadata !{i32 0}
+!2 = metadata !{}
 !3 = metadata !{metadata !4}
 !4 = metadata !{i32 786478, metadata !1, metadata !5, metadata !"f", metadata !"f", metadata !"", i32 1, metadata !6, i1 false, i1 true, i32 0, i32 0, null, i32 256, i1 false, i32 (i32)* @f, null, null, metadata !2, i32 1} ; [ DW_TAG_subprogram ] [line 1] [def] [f]
 !5 = metadata !{i32 786473, metadata !1}          ; [ DW_TAG_file_type ] [/usr/local/google/home/echristo/tmp/foo.c]