[llvm] r324767 - llvm-objdump when printing the Objective-C meta data also prints the Swift ABI

Kevin Enderby via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 9 11:39:24 PST 2018



> On Feb 9, 2018, at 11:36 AM, Davide Italiano <davide at freebsd.org> wrote:
> 
> On Fri, Feb 9, 2018 at 11:31 AM, Kevin Enderby via llvm-commits
> <llvm-commits at lists.llvm.org> wrote:
>> Author: enderby
>> Date: Fri Feb  9 11:31:27 2018
>> New Revision: 324767
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=324767&view=rev
>> Log:
>> llvm-objdump when printing the Objective-C meta data also prints the Swift ABI
>> from the value stored in swift_version bits in the flags field in the
>> objc_image_info struct.  ABI version 3 thru 6 were previously added but this
>> code was not updated to print the Swift version.
>> 
>> rdar://35624067
>> 
> 
> Any chance you can check in a binary to test this feature?

I’m not a swift programmer.  Honestly this is pretty obvious and I don’t see a need for a test.

> (or maybe yaml2macho could do it, don't know).
> 
> Thanks,
> 
> --
> Davide



More information about the llvm-commits mailing list