aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/CFrontend/extern-weak.c2
-rw-r--r--test/DebugInfo/2006-11-06-StackTrace.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/CFrontend/extern-weak.c b/test/CFrontend/extern-weak.c
index ce9d77241b..5154b0e133 100644
--- a/test/CFrontend/extern-weak.c
+++ b/test/CFrontend/extern-weak.c
@@ -1,7 +1,7 @@
// RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | grep extern_weak &&
// RUN: %llvmgcc -O3 -S -o - -emit-llvm | llvm-as | llc
-#ifndef __linux__
+#if !defined(__linux__) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
void foo() __attribute__((weak_import));
#else
void foo() __attribute__((weak));
diff --git a/test/DebugInfo/2006-11-06-StackTrace.cpp b/test/DebugInfo/2006-11-06-StackTrace.cpp
index 1edd48c6cf..9d7c63afc6 100644
--- a/test/DebugInfo/2006-11-06-StackTrace.cpp
+++ b/test/DebugInfo/2006-11-06-StackTrace.cpp
@@ -6,7 +6,7 @@
// RUN: ( echo "break DeepStack::deepest"; echo "run 17" ; echo "where" ) > Output/StackTrace.gdbin
// RUN: gdb -q -batch -n -x Output/StackTrace.gdbin Output/StackTrace.exe | tee Output/StackTrace.out | grep '#0 DeepStack::deepest.*(this=.*,.*x=33)'
// RUN: gdb -q -batch -n -x Output/StackTrace.gdbin Output/StackTrace.exe | grep '#7 0x.* in main.*(argc=[12],.*argv=.*)'
-// XFAIL: i[1-9]86|alpha|ia64|arm
+// XFAIL: i[1-9]86|alpha|ia64|arm|x86_64
#include <stdlib.h>