Fix some FreeBSD/amd64 regressions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35675 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jeff Cohen 2007-04-04 22:07:44 +00:00
parent 6733a1661a
commit 00361004a6
2 changed files with 2 additions and 2 deletions

View 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));

View 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>