mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-23 17:48:03 +00:00
test: fix test for release builds
Use a regex capture to avoid hardcoding the name. This should repair the failing buildbot. llvm-svn: 306447
This commit is contained in:
parent
c9bd53ab59
commit
6a92381c50
@ -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…
x
Reference in New Issue
Block a user