Skip to content

Commit 11b9c79

Browse files
committed
[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.
1 parent edc83a1 commit 11b9c79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/CodeGenObjC/2010-02-09-DbgSelf.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: %clang_cc1 -x objective-c -emit-llvm -debug-info-kind=limited < %s | FileCheck %s
22
// Test to check that "self" argument is assigned a location.
3-
// CHECK: call void @llvm.dbg.declare(metadata ptr %{{[^,]+}}, metadata [[SELF:![0-9]*]], metadata !{{.*}})
3+
// CHECK: call void @llvm.dbg.declare(metadata ptr %self.addr, metadata [[SELF:![0-9]*]], metadata !{{.*}})
44
// CHECK: [[SELF]] = !DILocalVariable(name: "self", arg: 1,
55

66
@interface Foo

0 commit comments

Comments
 (0)