cl: output export file path of package in verbose
This commit is contained in:
@@ -411,6 +411,9 @@ func buildPkg(ctx *context, aPkg *aPackage) {
|
|||||||
if needLLFile(ctx.mode) {
|
if needLLFile(ctx.mode) {
|
||||||
pkg.ExportFile += ".ll"
|
pkg.ExportFile += ".ll"
|
||||||
os.WriteFile(pkg.ExportFile, []byte(ret.String()), 0644)
|
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
|
aPkg.LPkg = ret
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user