debug: compile to dwarf-4

This commit is contained in:
Li Jie
2024-09-30 15:22:38 +08:00
parent 1b5e8e0181
commit be08bcaafc
2 changed files with 2 additions and 2 deletions

View File

@@ -445,7 +445,7 @@ func linkMainPkg(ctx *context, pkg *packages.Package, pkgs []*aPackage, llFiles
}
args = append(args, exargs...)
if cl.DebugSymbols() {
args = append(args, "-gdwarf-5")
args = append(args, "-gdwarf-4")
}
// TODO(xsw): show work