diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-09-16 03:55:36 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-09-16 03:55:36 +0000 |
commit | b5f8f07c68e7ec7b63c62649b11d557da4f0bed1 (patch) | |
tree | e7c92c389b83e162ff0313d90efac0fa40418f16 | |
parent | 481037f01b7445b42033ef652ad59ccaef3f33fd (diff) |
test/CodeGen/sse-builtins.c: Make this host-independent to unbreak posix-unlike hosts.
Without -ffreestanding, clang tries to seek /usr/include/stdlib.h in host filesystem, even on Windows hosts.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139899 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/sse-builtins.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/sse-builtins.c b/test/CodeGen/sse-builtins.c index a89c42e08a..64ee4c970f 100644 --- a/test/CodeGen/sse-builtins.c +++ b/test/CodeGen/sse-builtins.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -triple i386-apple-darwin9 -target-cpu pentium4 -target-feature +sse4.1 -g -emit-llvm %s -o - | FileCheck %s +// RUN: %clang_cc1 -ffreestanding -triple i386-apple-darwin9 -target-cpu pentium4 -target-feature +sse4.1 -g -emit-llvm %s -o - | FileCheck %s #include <emmintrin.h> |