diff options
| author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2015-09-11 21:10:12 +0000 |
|---|---|---|
| committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2015-09-11 21:10:12 +0000 |
| commit | 6dbfdaa6abb44ed3ee88c9e59c8e394cc4ff67b3 (patch) | |
| tree | e5cb4c9df33662ee453c72a635e51fd976c13e3a /clang/test | |
| parent | b54368c1b8676f403b93de47c0d119664a2cf89b (diff) | |
| download | bcm5719-llvm-6dbfdaa6abb44ed3ee88c9e59c8e394cc4ff67b3.tar.gz bcm5719-llvm-6dbfdaa6abb44ed3ee88c9e59c8e394cc4ff67b3.zip | |
Specify target triple in alwaysinline tests.
This should fix the tests on Windows (failing due to mangling differencies).
llvm-svn: 247473
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/CodeGen/always_inline.c | 4 | ||||
| -rw-r--r-- | clang/test/CodeGenCXX/alwaysinline.cpp | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/clang/test/CodeGen/always_inline.c b/clang/test/CodeGen/always_inline.c index a74c212c0ec..99a1649b58a 100644 --- a/clang/test/CodeGen/always_inline.c +++ b/clang/test/CodeGen/always_inline.c @@ -1,5 +1,5 @@ -// RUN: %clang -emit-llvm -S -o - %s | FileCheck %s -// RUN: %clang -mllvm -disable-llvm-optzns -emit-llvm -S -o - %s | FileCheck %s --check-prefix=CHECK-NO-OPTZNS +// RUN: %clang -target x86_64-pc-linux-gnu -emit-llvm -S -o - %s | FileCheck %s +// RUN: %clang -target x86_64-pc-linux-gnu -mllvm -disable-llvm-optzns -emit-llvm -S -o - %s | FileCheck %s --check-prefix=CHECK-NO-OPTZNS //static int f0() { static int __attribute__((always_inline)) f0() { diff --git a/clang/test/CodeGenCXX/alwaysinline.cpp b/clang/test/CodeGenCXX/alwaysinline.cpp index b92bb2a1f7b..c694ae41d22 100644 --- a/clang/test/CodeGenCXX/alwaysinline.cpp +++ b/clang/test/CodeGenCXX/alwaysinline.cpp @@ -1,10 +1,10 @@ // Test different kinds of alwaysinline *structor definitions. -// RUN: %clang_cc1 -disable-llvm-optzns -emit-llvm %s -o - | FileCheck %s --check-prefix=CHECK -// RUN: %clang_cc1 -disable-llvm-optzns -emit-llvm %s -o - | FileCheck %s --check-prefix=CHECK-CALL +// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -disable-llvm-optzns -emit-llvm %s -o - | FileCheck %s --check-prefix=CHECK +// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -disable-llvm-optzns -emit-llvm %s -o - | FileCheck %s --check-prefix=CHECK-CALL -// RUN: %clang_cc1 -mconstructor-aliases -disable-llvm-optzns -emit-llvm %s -o - | FileCheck %s --check-prefix=CHECK -// RUN: %clang_cc1 -mconstructor-aliases -disable-llvm-optzns -emit-llvm %s -o - | FileCheck %s --check-prefix=CHECK-CALL +// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -mconstructor-aliases -disable-llvm-optzns -emit-llvm %s -o - | FileCheck %s --check-prefix=CHECK +// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -mconstructor-aliases -disable-llvm-optzns -emit-llvm %s -o - | FileCheck %s --check-prefix=CHECK-CALL struct A1 { __attribute__((__always_inline__)) A1() {} |

