From: Dmitry Polukhin Date: Thu, 30 Jun 2016 11:15:52 +0000 (+0000) Subject: Fix CodeGenCXX/mangle-abi-tag.cpp on clang-ppc64le-linux bot X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=807297e70669af031ed2d47e7182014305da2c0a;p=clang Fix CodeGenCXX/mangle-abi-tag.cpp on clang-ppc64le-linux bot git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@274223 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGenCXX/mangle-abi-tag.cpp b/test/CodeGenCXX/mangle-abi-tag.cpp index 45702f067c..385a16f26a 100644 --- a/test/CodeGenCXX/mangle-abi-tag.cpp +++ b/test/CodeGenCXX/mangle-abi-tag.cpp @@ -1,6 +1,7 @@ // RUN: %clang_cc1 %s -emit-llvm -triple %itanium_abi_triple -std=c++11 -o - | FileCheck %s // RUN: %clang_cc1 %s -emit-llvm -triple i686-linux-gnu -std=c++11 -o - | FileCheck %s // RUN: %clang_cc1 %s -emit-llvm -triple x86_64-linux-gnu -std=c++11 -o - | FileCheck %s +// RUN: %clang_cc1 %s -emit-llvm -triple powerpc64le-unknown-linux-gnu -std=c++11 -o - | FileCheck %s struct __attribute__((abi_tag("A", "B"))) A { }; @@ -159,7 +160,7 @@ A14 A14::f14() { return A14(); } // A14[abi:TAG]::f14() -// CHECK-DAG: define void @_ZN3A14B3TAG3f14Ev( +// CHECK-DAG: define {{.+}} @_ZN3A14B3TAG3f14Ev( template T f15() { @@ -169,7 +170,7 @@ void f15_test() { f15(); } // A14[abi:TAG] f15() -// CHECK-DAG: define linkonce_odr void @_Z3f15I3A14B3TAGET_v( +// CHECK-DAG: define linkonce_odr {{.+}} @_Z3f15I3A14B3TAGET_v( template A14 f16() { @@ -179,7 +180,7 @@ void f16_test() { f16(); } // A14[abi:TAG] f16() -// CHECK-DAG: define linkonce_odr void @_Z3f16IiE3A14B3TAGv( +// CHECK-DAG: define linkonce_odr {{.+}} @_Z3f16IiE3A14B3TAGv( template struct __attribute__((abi_tag("TAG"))) A17 { @@ -192,7 +193,7 @@ void f17_test() { a + b; } // A17[abi:TAG]::operator+(A17[abi:TAG] const&) -// CHECK-DAG: define linkonce_odr void @_ZN3A17B3TAGIiEplERKS0_( +// CHECK-DAG: define linkonce_odr {{.+}} @_ZN3A17B3TAGIiEplERKS0_( struct A18 { operator A() { return A(); } @@ -201,4 +202,4 @@ void f18_test() { A a = A18(); } // A18::operator A[abi:A][abi:B]() but GCC adds the same tags twice! -// CHECK-DAG: define linkonce_odr void @_ZN3A18cv1AB1AB1BEv( +// CHECK-DAG: define linkonce_odr {{.+}} @_ZN3A18cv1AB1AB1BEv(