Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetPrecursorFunc (0.14 sec)

  1. src/cmd/compile/internal/dwarfgen/dwinl.go

    // late in the compilation when it is determined that we need an
    // abstract function DIE for an inlined routine imported from a
    // previously compiled package.
    func AbstractFunc(fn *obj.LSym) {
    	ifn := base.Ctxt.DwFixups.GetPrecursorFunc(fn)
    	if ifn == nil {
    		base.Ctxt.Diag("failed to locate precursor fn for %v", fn)
    		return
    	}
    	_ = ifn.(*ir.Func)
    	if base.Debug.DwarfInl != 0 {
    		base.Ctxt.Logf("DwarfAbstractFunc(%v)\n", fn.Name)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:45:07 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/dwarf.go

    func NewDwarfFixupTable(ctxt *Link) *DwarfFixupTable {
    	return &DwarfFixupTable{
    		ctxt:      ctxt,
    		symtab:    make(map[*LSym]int),
    		precursor: make(map[*LSym]fnState),
    	}
    }
    
    func (ft *DwarfFixupTable) GetPrecursorFunc(s *LSym) Func {
    	if fnstate, found := ft.precursor[s]; found {
    		return fnstate.precursor
    	}
    	return nil
    }
    
    func (ft *DwarfFixupTable) SetPrecursorFunc(s *LSym, fn Func) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 20:40:28 UTC 2023
    - 22K bytes
    - Viewed (0)
Back to top