1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00

Fix some FreeBSD/amd64 regressions.

llvm-svn: 35675
This commit is contained in:
Jeff Cohen 2007-04-04 22:07:44 +00:00
parent a72beea861
commit 6a9efef91d
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 %s | grep extern_weak &&
// RUN: %llvmgcc -O3 -S -o - -emit-llvm | llvm-as | llc // RUN: %llvmgcc -O3 -S -o - -emit-llvm | llvm-as | llc
#ifndef __linux__ #if !defined(__linux__) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
void foo() __attribute__((weak_import)); void foo() __attribute__((weak_import));
#else #else
void foo() __attribute__((weak)); void foo() __attribute__((weak));

View File

@ -6,7 +6,7 @@
// RUN: ( echo "break DeepStack::deepest"; echo "run 17" ; echo "where" ) > Output/StackTrace.gdbin // 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 | 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=.*)' // 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> #include <stdlib.h>