- 生成SIL
swiftc -emit-sil main.swift >> ./main.sil && open main.sil
- 还原SIL中的变量名
xcrun swift-demangle
- 组合命令
swiftc -emit-sil main.swift | xcrun swift-demangle >> ./main.sil && open main.sil
swiftc -emit-sil main.swift >> ./main.sil && open main.sil
xcrun swift-demangle
swiftc -emit-sil main.swift | xcrun swift-demangle >> ./main.sil && open main.sil