]> granicus.if.org Git - clang/commitdiff
Explicitly specify that ubsan-vtable-checks is x86-64.
authorIvan Krasin <krasin@chromium.org>
Thu, 17 Nov 2016 01:09:04 +0000 (01:09 +0000)
committerIvan Krasin <krasin@chromium.org>
Thu, 17 Nov 2016 01:09:04 +0000 (01:09 +0000)
This should fix a failure on PowerPC introduced by r287181.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@287185 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/ubsan-vtable-checks.cpp

index 932390cfb24ee3698d151d7463037e36846a264f..80af77d4ea6d8ff1a9d0f1201eae752e06260d73 100644 (file)
@@ -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() {}