cl: output export file path of package in verbose

This commit is contained in:
Li Jie
2024-06-20 20:06:40 +08:00
parent 73570b5628
commit 6d585e88a4

View File

@@ -411,6 +411,9 @@ func buildPkg(ctx *context, aPkg *aPackage) {
if needLLFile(ctx.mode) {
pkg.ExportFile += ".ll"
os.WriteFile(pkg.ExportFile, []byte(ret.String()), 0644)
if debugBuild || ctx.verbose {
fmt.Fprintf(os.Stderr, "==> Export %s: %s\n", aPkg.PkgPath, pkg.ExportFile)
}
}
aPkg.LPkg = ret
}