[clang] 11b9c79 - [Clang] Try to fix test on Windows (NFC)
Nikita Popov via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 12 11:36:43 PST 2022
Author: Nikita Popov
Date: 2022-12-12T20:36:35+01:00
New Revision: 11b9c7943bad1915e3ba096b597af3d050048d53
URL: https://github.com/llvm/llvm-project/commit/11b9c7943bad1915e3ba096b597af3d050048d53
DIFF: https://github.com/llvm/llvm-project/commit/11b9c7943bad1915e3ba096b597af3d050048d53.diff
LOG: [Clang] Try to fix test on Windows (NFC)
Try to fix failure reported in
https://reviews.llvm.org/rG9466b49171dc#1154213 by making the
match more specific, as there are multiple dbg.declares that
could be matched.
Added:
Modified:
clang/test/CodeGenObjC/2010-02-09-DbgSelf.m
Removed:
################################################################################
diff --git a/clang/test/CodeGenObjC/2010-02-09-DbgSelf.m b/clang/test/CodeGenObjC/2010-02-09-DbgSelf.m
index df2f8bec20f05..ad8b29a85ea14 100644
--- a/clang/test/CodeGenObjC/2010-02-09-DbgSelf.m
+++ b/clang/test/CodeGenObjC/2010-02-09-DbgSelf.m
@@ -1,6 +1,6 @@
// RUN: %clang_cc1 -x objective-c -emit-llvm -debug-info-kind=limited < %s | FileCheck %s
// Test to check that "self" argument is assigned a location.
-// CHECK: call void @llvm.dbg.declare(metadata ptr %{{[^,]+}}, metadata [[SELF:![0-9]*]], metadata !{{.*}})
+// CHECK: call void @llvm.dbg.declare(metadata ptr %self.addr, metadata [[SELF:![0-9]*]], metadata !{{.*}})
// CHECK: [[SELF]] = !DILocalVariable(name: "self", arg: 1,
@interface Foo
More information about the cfe-commits
mailing list