Xcode捆绑了什么LLVM版本? [英] What is the LLVM version bundled with Xcode?
问题描述
在键入clang --version
时,直到Xcode 6,我们都获得了有关其构建的LLVM版本的信息:
Up to Xcode 6 when typing clang --version
we got the information on what LLVM version it was built:
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
但是现在使用Xcode 7,我们只能得到以下内容:
But now with Xcode 7 we only get the following:
Apple LLVM version 7.0.0 (clang-700.0.72)
推荐答案
请参见 https://gist.github .com/yamaya/2924292 其中有一个有趣的评论:
See https://gist.github.com/yamaya/2924292 in which an interesting comment says:
Looking at the sources (src/CMakeLists.txt), it appears AppleClang is based on (approximately) the following LLVM branches:
clang-700.0.72 => LLVM 3.7.0
clang-700.1.76 => LLVM 3.7.0
clang-700.1.81 => LLVM 3.7.0
clang-703.0.29 => LLVM 3.8.0
clang-703.0.31 => LLVM 3.8.0
Looking at the sources (src/CMakeLists.txt), it appears AppleClang is based on (approximately) the following LLVM branches:
clang-700.0.72 => LLVM 3.7.0
clang-700.1.76 => LLVM 3.7.0
clang-700.1.81 => LLVM 3.7.0
clang-703.0.29 => LLVM 3.8.0
clang-703.0.31 => LLVM 3.8.0
这篇关于Xcode捆绑了什么LLVM版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!