[PATCH] D76272: Fix memtag test.

Adrian Kuegel via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 17 03:44:24 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG5156e38eb1d3: Fix memtag test. (authored by akuegel).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76272/new/

https://reviews.llvm.org/D76272

Files:
  clang/test/Driver/memtag.c


Index: clang/test/Driver/memtag.c
===================================================================
--- clang/test/Driver/memtag.c
+++ clang/test/Driver/memtag.c
@@ -17,7 +17,7 @@
 int foo() { int x; use(&x); return x; }
 
 // CHECK-NO-SAFETY: define dso_local i32 @foo()
-// CHECK-NO-SAFETY: %x = alloca i32, align 4{{$}}
+// CHECK-NO-SAFETY: %{{.*}} = alloca i32, align 4{{$}}
 
 // CHECK-SAFETY: define dso_local i32 @foo()
-// CHECK-SAFETY: %x = alloca i32, align 4, !stack-safe
+// CHECK-SAFETY: %{{.*}} = alloca i32, align 4, !stack-safe


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76272.250715.patch
Type: text/x-patch
Size: 546 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200317/2ac6d689/attachment.bin>


More information about the cfe-commits mailing list