How to determine LLVM version that Swift uses?

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

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 <http://github.com/apple/swift-llvm&gt;\.

-Chris

ยทยทยท

On Jan 2, 2018, at 10:10 AM, JJ Garzella via swift-users <swift-users@swift.org> wrote:

Thanks,

-Jack J. Garzella

University of Utah
SOARLAB
http://soarlab.org <http://soarlab.org/&gt;\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users