diff options
author | Akira Hatanaka <ahatanaka@apple.com> | 2016-02-26 05:07:00 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@apple.com> | 2016-02-26 05:07:00 +0000 |
commit | 8f5866a7a8088b1dede1d03c7a280b254d2ecaa1 (patch) | |
tree | 0df2f1c7dfb0247c92caa6472af50d6ce2fbb119 /clang/test/Driver/frame-pointer.c | |
parent | e9807b28af152a997a6265f221465f3546e49382 (diff) | |
download | bcm5719-llvm-8f5866a7a8088b1dede1d03c7a280b254d2ecaa1.tar.gz bcm5719-llvm-8f5866a7a8088b1dede1d03c7a280b254d2ecaa1.zip |
[Driver] Disable frame pointer elimination by default if target is
x86_64-pc-win32-macho.
rdar://problem/24470634
llvm-svn: 261976
Diffstat (limited to 'clang/test/Driver/frame-pointer.c')
-rw-r--r-- | clang/test/Driver/frame-pointer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/Driver/frame-pointer.c b/clang/test/Driver/frame-pointer.c index 1d63f2c4292..cec168636c1 100644 --- a/clang/test/Driver/frame-pointer.c +++ b/clang/test/Driver/frame-pointer.c @@ -10,6 +10,7 @@ // RUN: %clang -target x86_64-pc-linux -### -S -O2 %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK2-64 %s // RUN: %clang -target x86_64-pc-linux -### -S -O3 %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK3-64 %s // RUN: %clang -target x86_64-pc-linux -### -S -Os %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECKs-64 %s +// RUN: %clang -target x86_64-pc-win32-macho -### -S -O3 %s -o %t.s 2>&1 | FileCheck -check-prefix=CHECK-MACHO-64 %s // Trust the above to get the optimizations right, and just test other targets // that want this by default. @@ -36,3 +37,4 @@ // CHECK2-64-NOT: -mdisable-fp-elim // CHECK3-64-NOT: -mdisable-fp-elim // CHECKs-64-NOT: -mdisable-fp-elim +// CHECK-MACHO-64: -mdisable-fp-elim |