summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/cxx-irgen.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2014-08-14 00:23:30 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2014-08-14 00:23:30 +0000
commitc92ab5c900958401ab2fccfff8510080b2a6a0f4 (patch)
tree1ecc06f7ca06c9b978b4fa215c3bbba68c29acef /clang/test/Modules/cxx-irgen.cpp
parente5ef3ca932c52d58003d7381ee96e3922af5b502 (diff)
downloadbcm5719-llvm-c92ab5c900958401ab2fccfff8510080b2a6a0f4.tar.gz
bcm5719-llvm-c92ab5c900958401ab2fccfff8510080b2a6a0f4.zip
clang/test/Modules/cxx-irgen.cpp: Let it tolerant of x86_thiscallcc.
llvm-svn: 215607
Diffstat (limited to 'clang/test/Modules/cxx-irgen.cpp')
-rw-r--r--clang/test/Modules/cxx-irgen.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/Modules/cxx-irgen.cpp b/clang/test/Modules/cxx-irgen.cpp
index 4c6d81d2036..ecaf704b87b 100644
--- a/clang/test/Modules/cxx-irgen.cpp
+++ b/clang/test/Modules/cxx-irgen.cpp
@@ -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(); }
};
OpenPOWER on IntegriCloud