diff options
| author | Ivan Krasin <krasin@chromium.org> | 2016-11-17 01:09:04 +0000 |
|---|---|---|
| committer | Ivan Krasin <krasin@chromium.org> | 2016-11-17 01:09:04 +0000 |
| commit | 9103036f5ffadf7a881e8dca42ff862570d1e79f (patch) | |
| tree | 774668cc808f4a4c1b346a5936c2a17b33637f38 | |
| parent | be0cfcc28a22abf653ab8e934a01039cf79e4b5b (diff) | |
| download | bcm5719-llvm-9103036f5ffadf7a881e8dca42ff862570d1e79f.tar.gz bcm5719-llvm-9103036f5ffadf7a881e8dca42ff862570d1e79f.zip | |
Explicitly specify that ubsan-vtable-checks is x86-64.
This should fix a failure on PowerPC introduced by r287181.
llvm-svn: 287185
| -rw-r--r-- | clang/test/CodeGenCXX/ubsan-vtable-checks.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/ubsan-vtable-checks.cpp b/clang/test/CodeGenCXX/ubsan-vtable-checks.cpp index 932390cfb24..80af77d4ea6 100644 --- a/clang/test/CodeGenCXX/ubsan-vtable-checks.cpp +++ b/clang/test/CodeGenCXX/ubsan-vtable-checks.cpp @@ -1,6 +1,6 @@ -// RUN: %clang_cc1 -std=c++11 -triple %itanium_abi_triple -emit-llvm -fsanitize=null %s -o - | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-NULL --check-prefix=ITANIUM +// RUN: %clang_cc1 -std=c++11 -triple x86_64-unknown-linux -emit-llvm -fsanitize=null %s -o - | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-NULL --check-prefix=ITANIUM // RUN: %clang_cc1 -std=c++11 -triple x86_64-windows -emit-llvm -fsanitize=null %s -o - | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-NULL --check-prefix=MSABI -// RUN: %clang_cc1 -std=c++11 -triple %itanium_abi_triple -emit-llvm -fsanitize=vptr %s -o - | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-VPTR --check-prefix=ITANIUM +// RUN: %clang_cc1 -std=c++11 -triple x86_64-unknown-linux -emit-llvm -fsanitize=vptr %s -o - | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-VPTR --check-prefix=ITANIUM // RUN: %clang_cc1 -std=c++11 -triple x86_64-windows -emit-llvm -fsanitize=vptr %s -o - | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-VPTR --check-prefix=MSABI struct T { virtual ~T() {} |

