r370058 - Speculatively fix the build bots after r370052.

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 27 06:45:42 PDT 2019


Author: aaronballman
Date: Tue Aug 27 06:45:42 2019
New Revision: 370058

URL: http://llvm.org/viewvc/llvm-project?rev=370058&view=rev
Log:
Speculatively fix the build bots after r370052.

Modified:
    cfe/trunk/test/CodeGenCXX/ms-union-member-ref.cpp

Modified: cfe/trunk/test/CodeGenCXX/ms-union-member-ref.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/ms-union-member-ref.cpp?rev=370058&r1=370057&r2=370058&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/ms-union-member-ref.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/ms-union-member-ref.cpp Tue Aug 27 06:45:42 2019
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fms-extensions %s -emit-llvm -o- | FileCheck %s
+// RUN: %clang_cc1 -triple=i686-pc-win32 -fms-extensions %s -emit-llvm -o- | FileCheck %s
 
 union A {
   int *&ref;
@@ -8,7 +8,7 @@ union A {
 int *f1(A *a) {
   return a->ref;
 }
-// CHECK-LABEL: define {{.*}}i32* @_Z2f1P1A(%union.A* %a)
+// CHECK-LABEL: define {{.*}}i32* @"?f1@@YAPAHPATA@@@Z"(%union.A* %a)
 // CHECK:       [[REF:%[^[:space:]]+]] = bitcast %union.A* %{{.*}} to i32***
 // CHECK:       [[IPP:%[^[:space:]]+]] = load i32**, i32*** [[REF]]
 // CHECK:       [[IP:%[^[:space:]]+]]  = load i32*, i32** [[IPP]]
@@ -17,7 +17,7 @@ int *f1(A *a) {
 void f2(A *a) {
   *a->ref = 1;
 }
-// CHECK-LABEL: define {{.*}}void @_Z2f2P1A(%union.A* %a)
+// CHECK-LABEL: define {{.*}}void @"?f2@@YAXPATA@@@Z"(%union.A* %a)
 // CHECK:       [[REF:%[^[:space:]]+]] = bitcast %union.A* %{{.*}} to i32***
 // CHECK:       [[IPP:%[^[:space:]]+]] = load i32**, i32*** [[REF]]
 // CHECK:       [[IP:%[^[:space:]]+]]  = load i32*, i32** [[IPP]]
@@ -26,7 +26,7 @@ void f2(A *a) {
 bool f3(A *a, int *b) {
   return a->ref != b;
 }
-// CHECK-LABEL: define {{.*}}i1 @_Z2f3P1APi(%union.A* %a, i32* %b)
+// CHECK-LABEL: define {{.*}}i1 @"?f3@@YA_NPATA@@PAH at Z"(%union.A* %a, i32* %b)
 // CHECK:       [[REF:%[^[:space:]]+]] = bitcast %union.A* %{{.*}} to i32***
 // CHECK:       [[IPP:%[^[:space:]]+]] = load i32**, i32*** [[REF]]
 // CHECK:       [[IP:%[^[:space:]]+]]  = load i32*, i32** [[IPP]]




More information about the cfe-commits mailing list