[PATCH] reserve constants for Swift bitcode compatibility

Bob Wilson bob.wilson at apple.com
Wed Jul 15 15:40:02 PDT 2015


As announced at WWDC, we are in the process of open-sourcing the Swift compiler. In anticipation of that, I would like to apply the attached patch to reserve some constant values to avoid incompatible bitcode between Apple’s current Swift compiler and trunk. Swift has a custom calling convention that also requires some new flags on arguments and one new attribute on alloca instructions. This patch does not include the implementation of that calling convention — that will be provided as part of the open-source release of Swift; this only reserves the bitcode constant values so that they are not used for other purposes on trunk, which would make it impossible for people to use bitcode from the Xcode 7 Swift compiler with the version that we release as open-source.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: swift-bitcode-compatibility.patch
Type: application/octet-stream
Size: 2267 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150715/7041203d/attachment.obj>


More information about the llvm-commits mailing list