compiler: split LLGO_DEBUG into LLGO_DEBUG, LLGO_DBG_SYMBOLS, disableInline

This commit is contained in:
Li Jie
2025-02-22 09:31:41 +08:00
parent 9f38338c58
commit 8cd5924bf2
7 changed files with 45 additions and 27 deletions

View File

@@ -759,7 +759,7 @@ func (p Package) AfterInit(b Builder, ret BasicBlock) {
}
}
func (p Package) InitDebugSymbols(name, pkgPath string, positioner Positioner) {
func (p Package) InitDebug(name, pkgPath string, positioner Positioner) {
p.di = newDIBuilder(p.Prog, p, positioner)
p.cu = p.di.createCompileUnit(name, pkgPath)
}