Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DW_TAG_variable (0.22 sec)

  1. src/cmd/internal/dwarf/dwarf.go

    var logDwarf bool
    
    // Sym represents a symbol.
    type Sym interface {
    }
    
    // A Var represents a local variable or a function parameter.
    type Var struct {
    	Name          string
    	Tag           int // Either DW_TAG_variable or DW_TAG_formal_parameter
    	WithLoclist   bool
    	IsReturnValue bool
    	IsInlFormal   bool
    	DictIndex     uint16 // index of the dictionary entry describing the type of this variable
    	StackOffset   int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 43K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/dwarf_test.go

    				if child.Tag == dwarf.TagVariable && child.Val(dwarf.AttrName).(string) == "i" {
    					iEntry = child
    					break
    				}
    			}
    			if iEntry == nil {
    				t.Fatalf("didn't find DW_TAG_variable for i in main.main")
    			}
    
    			// Verify line/file attributes.
    			line, lineOK := iEntry.Val(dwarf.AttrDeclLine).(int64)
    			if !lineOK {
    				t.Errorf("missing or invalid DW_AT_decl_line for i")
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 01:38:11 UTC 2024
    - 48.6K bytes
    - Viewed (0)
Back to top