Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for dwarfEnabled (0.09 sec)

  1. src/cmd/link/internal/ld/main.go

    	if ctxt.Debugvlog != 0 {
    		onOff := func(b bool) string {
    			if b {
    				return "on"
    			}
    			return "off"
    		}
    		ctxt.Logf("build mode: %s, symbol table: %s, DWARF: %s\n", ctxt.BuildMode, onOff(!*FlagS), onOff(dwarfEnabled(ctxt)))
    		ctxt.Logf("HEADER = -H%d -T0x%x -R0x%x\n", ctxt.HeadType, uint64(*FlagTextAddr), uint32(*FlagRound))
    	}
    
    	zerofp := goobj.FingerprintType{}
    	switch ctxt.BuildMode {
    	case BuildModeShared:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/dwarf.go

    }
    
    // FIXME: might be worth looking replacing this map with a function
    // that switches based on symbol instead.
    
    var prototypedies map[string]*dwarf.DWDie
    
    func dwarfEnabled(ctxt *Link) bool {
    	if *FlagW { // disable dwarf
    		return false
    	}
    	if ctxt.HeadType == objabi.Hplan9 || ctxt.HeadType == objabi.Hjs || ctxt.HeadType == objabi.Hwasip1 {
    		return false
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
Back to top