mirror of https://github.com/microsoft/clang.git
test: fix test for release builds
Use a regex capture to avoid hardcoding the name. This should repair the failing buildbot. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@306447 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
004e95174d
commit
f255da2ab7
|
@ -9,6 +9,7 @@ struct S {
|
|||
|
||||
@interface C
|
||||
@end
|
||||
|
||||
@implementation C
|
||||
- (void)object:(id)obj struct:(S)s {
|
||||
}
|
||||
|
@ -17,5 +18,5 @@ struct S {
|
|||
// CHECK-GNUSTEP: define internal void @_i_C__object_struct_(<{ %0*, i8*, i8*, %struct.S, [3 x i8] }>* inalloca)
|
||||
// CHECK-DARWIN: define internal void @"\01-[C object:struct:]"(<{ %0*, i8*, i8*, %struct.S, [3 x i8] }>* inalloca)
|
||||
// CHECK: %obj = getelementptr inbounds <{ %0*, i8*, i8*, %struct.S, [3 x i8] }>, <{ %0*, i8*, i8*, %struct.S, [3 x i8] }>* %0, i32 0, i32 2
|
||||
// CHECK: %1 = load i8*, i8** %obj, align 4
|
||||
// CHECK: call void @objc_storeStrong(i8** %obj, i8* %1)
|
||||
// CHECK: %[[INSTANCE:[0-9]+]] = load i8*, i8** %obj, align 4
|
||||
// CHECK: call void @objc_storeStrong(i8** %obj, i8* %[[INSTANCE]])
|
||||
|
|
Loading…
Reference in New Issue