Re: [swift-users] How to determine LLVM version that Swift uses?

2018-01-02 Thread Chris Lattner via swift-users

> On Jan 2, 2018, at 10:10 AM, JJ Garzella via swift-users 
>  wrote:
> 
> Hi,
> 
> As part of a research project, I'd like to perform static analysis on LLVM IR 
> files that Swift has generated. In order to properly analyze it, I need to 
> know which version of LLVM a particular version of Swift uses. How can I 
> determine the particular LLVM version of Swift?

Hi Jack,

The best way to do this is to pull the exact version of llvm used to build a 
Swift release.  You can find these tagged at github.com/apple/swift-llvm 
.

-Chris


> 
> Thanks,
> 
> -Jack J. Garzella
> 
> University of Utah
> SOARLAB
> http://soarlab.org 
> ___
> swift-users mailing list
> swift-users@swift.org
> https://lists.swift.org/mailman/listinfo/swift-users

___
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users


[swift-users] How to determine LLVM version that Swift uses?

2018-01-02 Thread JJ Garzella via swift-users
Hi,

As part of a research project, I'd like to perform static analysis on LLVM
IR files that Swift has generated. In order to properly analyze it, I need
to know which version of LLVM a particular version of Swift uses. How can I
determine the particular LLVM version of Swift?

If there is no way of doing this, does anyone know what particular version
of Swift uses LLVM 3.9.1 as it's backend?

Thanks,

-Jack J. Garzella

University of Utah
SOARLAB
http://soarlab.org
___
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users