r282463 - Defend test against differences between 32-bit and 64-bit MSABI manglings.

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 26 17:52:31 PDT 2016


Author: rsmith
Date: Mon Sep 26 19:52:29 2016
New Revision: 282463

URL: http://llvm.org/viewvc/llvm-project?rev=282463&view=rev
Log:
Defend test against differences between 32-bit and 64-bit MSABI manglings.

Modified:
    cfe/trunk/test/CodeGenCXX/cxx1z-eval-order.cpp

Modified: cfe/trunk/test/CodeGenCXX/cxx1z-eval-order.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/cxx1z-eval-order.cpp?rev=282463&r1=282462&r2=282463&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/cxx1z-eval-order.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/cxx1z-eval-order.cpp Mon Sep 26 19:52:29 2016
@@ -45,13 +45,13 @@ void (*get_f())(A);
 void postfix_before_args() {
   // CHECK: call {{.*}}@{{.*}}get_f{{.*}}(
   // CHECK-ITANIUM: call {{.*}}@_ZN1AC1Ev(
-  // CHECK-WINDOWS: call {{.*}}@"\01??0A@@QEAA at XZ"(
+  // CHECK-WINDOWS: call {{.*}}@"\01??0A@@Q{{AE|EAA}}@XZ"(
   // CHECK: call {{.*}}%{{.*}}(
   get_f()(A{});
 
   // CHECK: call {{.*}}@{{.*}}side_effect{{.*}}(
   // CHECK-ITANIUM: call {{.*}}@_ZN1AC1Ev(
-  // CHECK-WINDOWS: call {{.*}}@"\01??0A@@QEAA at XZ"(
+  // CHECK-WINDOWS: call {{.*}}@"\01??0A@@Q{{AE|EAA}}@XZ"(
   // CHECK: call {{.*}}@{{.*}}callee{{.*}}(
   (side_effect(), callee)(A{});
 // CHECK: }
@@ -115,7 +115,7 @@ void *operator new(decltype(sizeof(0)),
 void alloc_before_init() {
   struct Q { Q(A) {} };
   // CHECK-ITANIUM: call {{.*}}@_Znw{{.*}}(
-  // CHECK-WINDOWS: call {{.*}}@"\01??2 at YAPEAX_K@Z"(
+  // CHECK-WINDOWS: call {{.*}}@"\01??2 at YAP{{EAX_K|AXI}}@Z"(
   // CHECK: call {{.*}}@{{.*}}make_a{{.*}}(
   delete new Q(make_a());
 




More information about the cfe-commits mailing list