ssa: struct debug info creation supports resursive

This commit is contained in:
Li Jie
2024-09-19 09:17:24 +08:00
parent b0f04d91bf
commit f4089bc164
3 changed files with 87 additions and 127 deletions

View File

@@ -877,7 +877,7 @@ func NewPackageEx(prog llssa.Program, patches Patches, pkg *ssa.Package, files [
}
ret = prog.NewPackage(pkgName, pkgPath)
if debugSymbols {
ret.InitDebugSymbols(pkgName, pkgPath)
ret.InitDebugSymbols(pkgName, pkgPath, pkgProg.Fset)
}
ctx := &context{