Most debuginfo-tests fail on anything but Darwin. As discussed with
Devang, this patch adds XFAIL and XTARGET to those that require Darwin
host.
cheers,
--renato
Index: dbg-declare.ll
===================================================================
--- dbg-declare.ll (revision 132184)
+++ dbg-declare.ll (working copy)
@@ -2,6 +2,8 @@
; RUN: %clang -arch x86_64 -O0 -g %s -c -o %t.o
; RUN: %clang -arch x86_64 %t.o -o %t.out
; RUN: %test_debuginfo %s %t.out
+; XFAIL: *
+; XTARGET: darwin
target triple = "x86_64-apple-darwin"
%struct.XYZ = type { i32, i32, i32, i32, i32 }
Index: dbg-declare2.ll
===================================================================
--- dbg-declare2.ll (revision 132184)
+++ dbg-declare2.ll (working copy)
@@ -2,6 +2,8 @@
; RUN: %clang -arch x86_64 -mllvm -fast-isel=false -mllvm -regalloc=default -g %s -c -o %t.o
; RUN: %clang -arch x86_64 %t.o -o %t.out
; RUN: %test_debuginfo %s %t.out
+; XFAIL: *
+; XTARGET: darwin
target triple = "x86_64-apple-darwin"
%struct.XYZ = type { i32, i32, i32, i32, i32 }
Index: local-var.ll
===================================================================
--- local-var.ll (revision 132184)
+++ local-var.ll (working copy)
@@ -2,6 +2,8 @@
; RUN: %clang -arch x86_64 -O0 -g %s -c -o %t.o
; RUN: %clang -arch x86_64 %t.o -o %t.out
; RUN: %test_debuginfo %s %t.out
+; XFAIL: *
+; XTARGET: darwin
target triple = "x86_64-apple-darwin10.0.0"
Index: blocks.m
===================================================================
--- blocks.m (revision 132184)
+++ blocks.m (working copy)
@@ -1,7 +1,10 @@
// RUN: %clang -O0 -g %s -c -o %t.o
// RUN: %clang %t.o -o %t.out -framework Foundation
// RUN: %test_debuginfo %s %t.out
+// XFAIL: *
+// XTARGET: darwin
// Radar 9279956
+
// DEBUGGER: break 28
// DEBUGGER: r
// DEBUGGER: p m2
Index: local-var2.ll
===================================================================
--- local-var2.ll (revision 132184)
+++ local-var2.ll (working copy)
@@ -2,6 +2,8 @@
; RUN: %clang -arch x86_64 -O0 -mllvm -fast-isel=false -g %s -c -o %t.o
; RUN: %clang -arch x86_64 %t.o -o %t.out
; RUN: %test_debuginfo %s %t.out
+; XFAIL: *
+; XTARGET: darwin
target triple = "x86_64-apple-darwin10.0.0"
Index: dbg-arg.ll
===================================================================
--- dbg-arg.ll (revision 132184)
+++ dbg-arg.ll (working copy)
@@ -2,6 +2,8 @@
; RUN: %clang -arch x86_64 -mllvm -fast-isel=false %s -c -o %t.o
; RUN: %clang -arch x86_64 %t.o -o %t.out
; RUN: %test_debuginfo %s %t.out
+; XFAIL: *
+; XTARGET: darwin
; Radar 8412415
target triple = "x86_64-apple-darwin10.0.0"
Index: block_var.m
===================================================================
--- block_var.m (revision 132184)
+++ block_var.m (working copy)
@@ -1,6 +1,8 @@
// RUN: %clang -O0 -g %s -c -o %t.o
// RUN: %clang %t.o -o %t.out -framework Foundation
// RUN: %test_debuginfo %s %t.out
+// XFAIL: *
+// XTARGET: darwin
// DEBUGGER: break 22
// DEBUGGER: r
Index: unused-boolean-arg.ll
===================================================================
--- unused-boolean-arg.ll (revision 132184)
+++ unused-boolean-arg.ll (working copy)
@@ -2,6 +2,8 @@
; RUN: %clang -arch x86_64 -mllvm -fast-isel=false %s -c -o %t.o
; RUN: %clang -arch x86_64 %t.o -o %t.out
; RUN: %test_debuginfo %s %t.out
+; XFAIL: *
+; XTARGET: darwin
; Radar 9422775
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits