Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

57:swiftc常用命令 #61

Open
platojobs opened this issue Nov 30, 2021 · 1 comment
Open

57:swiftc常用命令 #61

platojobs opened this issue Nov 30, 2021 · 1 comment
Labels
MobileDevelopment iOS、安卓、Flutter、go

Comments

@platojobs
Copy link
Owner

platojobs commented Nov 30, 2021

swiftc常用命令

@platojobs
Copy link
Owner Author

-dump-ast              解析和类型检查源文件 & 转换成 AST
-dump-parse            解析源文件 & 转换成 AST
-emit-assembly         生成汇编文件
-emit-bc               生成 LLVMBitcode 文件
-emit-executable       生成已链接的可执行文件
-emit-imported-modules 生成已导入的库
-emit-ir               生成 LLVMIR 文件
-emit-library          生成已连接的库
-emit-object           生成目标文件
-emit-silgen           生成 raw SIL 文件(第一个阶段)
-emit-sil              生成 canonical SIL 文件(第2个阶段)
-index-file            为源文件生成索引数据
-print-ast             解析和类型检查源文件 & 转换成更简约的格式更好的 AST
-typecheck             解析和类型检查源文件


@platojobs platojobs changed the title 😘 swiftc常用命令 Dec 15, 2021
@platojobs platojobs changed the title swiftc常用命令 57:swiftc常用命令 Dec 15, 2021
@platojobs platojobs added the MobileDevelopment iOS、安卓、Flutter、go label Jul 23, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
MobileDevelopment iOS、安卓、Flutter、go
Projects
None yet
Development

No branches or pull requests

1 participant