[PATCH] D62831: [CodeGen][ObjC] Add attribute "arc_retain_agnostic" to ObjC globals that are retain-agnostic
Akira Hatanaka via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 5 14:18:59 PDT 2019
ahatanak added inline comments.
================
Comment at: test/CodeGenObjC/local-static-block.m:5
+// CHECK: @{{.*}} = internal constant { i8**, i32, i32, i8*, %struct.__block_descriptor* } { i8** @_NSConcreteGlobalBlock, i32 1342177280, i32 0, i8* bitcast (%0* (i8*, %0*, i64)* @{{.*}} to i8*), %{{.*}}* bitcast ({ i64, i64, i8*, i8* }* @{{.*}} to %{{.*}}) }, align 8 #[[ATTRNUM0:.*]]
+
----------------
erik.pilkington wrote:
> I believe FileCheck ignores CHECK lines when there is a custom check-prefix, so this should be CHECK-LP64. I think this makes more sense regardless in its own file though, its weird to piggyback on an unrelated test IMO.
I added a file that just tests this attribute.
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62831/new/
https://reviews.llvm.org/D62831
More information about the cfe-commits
mailing list