From: Timur Iskhodzhanov Date: Tue, 1 Oct 2013 14:10:03 +0000 (+0000) Subject: Run the -cxx-abi test in 32-bit mode as the 64-bit one crashes on the bots X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=454897d266b8f945b94cda74aa3b77c038b86e62;p=clang Run the -cxx-abi test in 32-bit mode as the 64-bit one crashes on the bots git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191760 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGenCXX/constructor-destructor-return-this.cpp b/test/CodeGenCXX/constructor-destructor-return-this.cpp index 3f52c48f63..ea2ea45a32 100644 --- a/test/CodeGenCXX/constructor-destructor-return-this.cpp +++ b/test/CodeGenCXX/constructor-destructor-return-this.cpp @@ -1,6 +1,7 @@ //RUN: %clang_cc1 %s -emit-llvm -o - -triple=i686-unknown-linux | FileCheck --check-prefix=CHECKGEN %s //RUN: %clang_cc1 %s -emit-llvm -o - -triple=thumbv7-apple-ios3.0 -target-abi apcs-gnu | FileCheck --check-prefix=CHECKARM %s -//RUN: %clang_cc1 %s -emit-llvm -o - -triple=x86_64-pc-win32 -cxx-abi microsoft -fno-rtti | FileCheck --check-prefix=CHECKMS %s +//RUN: %clang_cc1 %s -emit-llvm -o - -triple=i386-pc-win32 -cxx-abi microsoft -fno-rtti | FileCheck --check-prefix=CHECKMS %s +// FIXME: these tests crash on the bots when run with -triple=x86_64-pc-win32 // Make sure we attach the 'returned' attribute to the 'this' parameter of // constructors and destructors which return this (and only these cases) @@ -36,8 +37,8 @@ B::~B() { } // CHECKARM-LABEL: define %class.B* @_ZN1BD1Ev(%class.B* returned %this) // CHECKARM-LABEL: define %class.B* @_ZN1BD2Ev(%class.B* returned %this) -// CHECKMS-LABEL: define %class.B* @"\01??0B@@QEAA@PEAH@Z"(%class.B* returned %this, i32* %i) -// CHECKMS-LABEL: define void @"\01??1B@@QEAA@XZ"(%class.B* %this) +// CHECKMS-LABEL: define x86_thiscallcc %class.B* @"\01??0B@@QAE@PAH@Z"(%class.B* returned %this, i32* %i) +// CHECKMS-LABEL: define x86_thiscallcc void @"\01??1B@@QAE@XZ"(%class.B* %this) class C : public A, public B { public: @@ -62,8 +63,8 @@ C::~C() { } // CHECKARM-LABEL: define %class.C* @_ZN1CD1Ev(%class.C* returned %this) // CHECKARM-LABEL: define %class.C* @_ZN1CD2Ev(%class.C* returned %this) -// CHECKMS-LABEL: define %class.C* @"\01??0C@@QEAA@PEAHPEAD@Z"(%class.C* returned %this, i32* %i, i8* %c) -// CHECKMS-LABEL: define void @"\01??1C@@UEAA@XZ"(%class.C* %this) +// CHECKMS-LABEL: define x86_thiscallcc %class.C* @"\01??0C@@QAE@PAHPAD@Z"(%class.C* returned %this, i32* %i, i8* %c) +// CHECKMS-LABEL: define x86_thiscallcc void @"\01??1C@@UAE@XZ"(%class.C* %this) class D : public virtual A { public: @@ -84,8 +85,8 @@ D::~D() { } // CHECKARM-LABEL: define %class.D* @_ZN1DD1Ev(%class.D* returned %this) // CHECKARM-LABEL: define %class.D* @_ZN1DD2Ev(%class.D* returned %this, i8** %vtt) -// CHECKMS-LABEL: define %class.D* @"\01??0D@@QEAA@XZ"(%class.D* returned %this, i32 %is_most_derived) -// CHECKMS-LABEL: define void @"\01??1D@@QEAA@XZ"(%class.D* %this) +// CHECKMS-LABEL: define x86_thiscallcc %class.D* @"\01??0D@@QAE@XZ"(%class.D* returned %this, i32 %is_most_derived) +// CHECKMS-LABEL: define x86_thiscallcc void @"\01??1D@@QAE@XZ"(%class.D* %this) class E { public: