[PATCH] D71219: Fix conflict value for metadata "Objective-C Garbage Collection" in the mix of swift and Objective-C bitcode
Manman Ren via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 25 14:08:06 PST 2020
manmanren added a comment.
Just to clarify :]
For Swift, we already have "Swift Version" as module flag, "Garbage Collection" contains swiftVersion, Major and Minor. We should add a new module flag (with type Error) that contains Major and Minor and make sure "Garbage Collection" value is the same for Swift as for ObjC.
In the backend, we will reconstruct IMAGE_INFO from the new module flags and make sure the value stays the same with and without this patch.
IMAGE_INFO will be different for Swift vs ObjC.
Thanks!
Manman
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71219/new/
https://reviews.llvm.org/D71219
More information about the llvm-commits
mailing list