r215607 - clang/test/Modules/cxx-irgen.cpp: Let it tolerant of x86_thiscallcc.
NAKAMURA Takumi
geek4civic at gmail.com
Wed Aug 13 17:23:30 PDT 2014
Author: chapuni
Date: Wed Aug 13 19:23:30 2014
New Revision: 215607
URL: http://llvm.org/viewvc/llvm-project?rev=215607&view=rev
Log:
clang/test/Modules/cxx-irgen.cpp: Let it tolerant of x86_thiscallcc.
Modified:
cfe/trunk/test/Modules/cxx-irgen.cpp
Modified: cfe/trunk/test/Modules/cxx-irgen.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Modules/cxx-irgen.cpp?rev=215607&r1=215606&r2=215607&view=diff
==============================================================================
--- cfe/trunk/test/Modules/cxx-irgen.cpp (original)
+++ cfe/trunk/test/Modules/cxx-irgen.cpp Wed Aug 13 19:23:30 2014
@@ -13,15 +13,15 @@ CtorInit<int> x;
// Keep these two namespace definitions separate; merging them hides the bug.
namespace EmitInlineMethods {
- // CHECK-DAG: define linkonce_odr void @_ZN17EmitInlineMethods1C1fEPNS_1AE(
- // CHECK-DAG: declare void @_ZN17EmitInlineMethods1A1gEv(
+ // CHECK-DAG: define linkonce_odr [[CC:(x86_thiscallcc[ ]+)?]]void @_ZN17EmitInlineMethods1C1fEPNS_1AE(
+ // CHECK-DAG: declare [[CC]]void @_ZN17EmitInlineMethods1A1gEv(
struct C {
__attribute__((used)) void f(A *p) { p->g(); }
};
}
namespace EmitInlineMethods {
- // CHECK-DAG: define linkonce_odr void @_ZN17EmitInlineMethods1D1fEPNS_1BE(
- // CHECK-DAG: define linkonce_odr void @_ZN17EmitInlineMethods1B1gEv(
+ // CHECK-DAG: define linkonce_odr [[CC]]void @_ZN17EmitInlineMethods1D1fEPNS_1BE(
+ // CHECK-DAG: define linkonce_odr [[CC]]void @_ZN17EmitInlineMethods1B1gEv(
struct D {
__attribute__((used)) void f(B *p) { p->g(); }
};
More information about the cfe-commits
mailing list