go/src/cmd/compile/internal/dwarfgen/scope.go

// See golang.org/issue/20390.
func xposBefore(p, q src.XPos) bool {}

func findScope(marks []ir.Mark, pos src.XPos) ir.ScopeID {}

func assembleScopes(fnsym *obj.LSym, fn *ir.Func, dwarfVars []*dwarf.Var, varScopes []ir.ScopeID) []dwarf.Scope {}

// scopeVariables assigns DWARF variable records to their scopes.
func scopeVariables(dwarfVars []*dwarf.Var, varScopes []ir.ScopeID, dwarfScopes []dwarf.Scope, regabi bool) {}

// scopePCs assigns PC ranges to their scopes.
func scopePCs(fnsym *obj.LSym, marks []ir.Mark, dwarfScopes []dwarf.Scope) {}

func compactScopes(dwarfScopes []dwarf.Scope) []dwarf.Scope {}

type varsByScopeAndOffset

func (v varsByScopeAndOffset) Len() int {}

func (v varsByScopeAndOffset) Less(i, j int) bool {}

func (v varsByScopeAndOffset) Swap(i, j int) {}

type varsByScope

func (v varsByScope) Len() int {}

func (v varsByScope) Less(i, j int) bool {}

func (v varsByScope) Swap(i, j int) {}