iOS编译原理

2021-01-06  本文已影响0人  优质胡萝北

What is LLVM?

LLVM编译

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. Despite its name, LLVM has little to do with traditional virtual machines. The name "LLVM" itself is not an acronym; it is the full name of the project.

command+B 后做了什么?

Clang编译流程

前端

后端

What is Clang?

Apple’s official for the C language family
C
C++
Objective-C
Objective-C++

C编译1 C编译2

What is Swiftc?

The Swift compiler is principally responsible for translating Swift source code into efficient, executable machine code. However, the Swift compiler front-end also supports a number of other tools, including IDE integration with syntax coloring, code completion, and other conveniences.

Swift编译1.png Swift编译2.png

Swiftc主要编译流程

Swift编译流程

参考文献:

What is Swift Compiler
Modules

上一篇 下一篇

猜你喜欢

热点阅读