Fix some FreeBSD/amd64 regressions.
authorJeff Cohen <jeffc@jolt-lang.org>
Wed, 4 Apr 2007 22:07:44 +0000 (22:07 +0000)
committerJeff Cohen <jeffc@jolt-lang.org>
Wed, 4 Apr 2007 22:07:44 +0000 (22:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35675 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/extern-weak.c
test/DebugInfo/2006-11-06-StackTrace.cpp

index ce9d77241b317612d6da8ae238fc17c4e6acf93f..5154b0e133fcd2fa1f66816d62abe6e5ec4fb73c 100644 (file)
@@ -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));
index 1edd48c6cf0620b0b532889c83b74e4eccaed907..9d7c63afc691db6f9100e849f558a0e33ba929aa 100644 (file)
@@ -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>