Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for debug_line_str (0.15 sec)

  1. src/debug/dwarf/open.go

    // DWARF 5 and later.
    func (d *Data) AddSection(name string, contents []byte) error {
    	var err error
    	switch name {
    	case ".debug_addr":
    		d.addr = contents
    	case ".debug_line_str":
    		d.lineStr = contents
    	case ".debug_str_offsets":
    		d.strOffsets = contents
    	case ".debug_rnglists":
    		d.rngLists = contents
    	}
    	// Just ignore names that we don't yet support.
    	return err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. src/debug/dwarf/line.go

    type LineReader struct {
    	buf buf
    
    	// Original .debug_line section data. Used by Seek.
    	section []byte
    
    	str     []byte // .debug_str
    	lineStr []byte // .debug_line_str
    
    	// Header information
    	version              uint16
    	addrsize             int
    	segmentSelectorSize  int
    	minInstructionLength int
    	maxOpsPerInstruction int
    	defaultIsStmt        bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  3. src/debug/dwarf/entry.go

    				return nil
    			}
    			var b1 buf
    			if fmt == formStrp {
    				b1 = makeBuf(b.dwarf, b.format, "str", 0, b.dwarf.str)
    			} else {
    				if len(b.dwarf.lineStr) == 0 {
    					b.error("DW_FORM_line_strp with no .debug_line_str section")
    					return nil
    				}
    				b1 = makeBuf(b.dwarf, b.format, "line_str", 0, b.dwarf.lineStr)
    			}
    			b1.skip(int(off))
    			val = b1.string()
    			if b1.err != nil {
    				b.err = b1.err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 30.7K bytes
    - Viewed (0)
Back to top