Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TestPutVarAbbrevGenerator (0.18 sec)

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

    //     the attribute it is setting
    //
    // TestPutVarAbbrevGenerator will fail if (1) or (4) are not respected and
    // the generated code will not compile if (3) is violated. Violating (2)
    // will result in code silently wrong code (which will usually be detected
    // by one of the tests that parse debug_info).
    func TestPutVarAbbrevGenerator(t *testing.T) {
    	spvagenfile := pvagenerate(t)
    
    	if pvaDoGenerate {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:45:07 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. src/cmd/internal/dwarf/putvarabbrevgen.go

    // Code generated by TestPutVarAbbrevGenerator. DO NOT EDIT.
    // Regenerate using go test -run TestPutVarAbbrevGenerator -generate instead.
    
    package dwarf
    
    var putvarAbbrevs = []dwAbbrev{
    	{
    		DW_TAG_variable,
    		DW_CHILDREN_no,
    		[]dwAttrForm{
    			{DW_AT_name, DW_FORM_string},
    			{DW_AT_decl_line, DW_FORM_udata},
    			{DW_AT_type, DW_FORM_ref_addr},
    		},
    	},
    	{
    		DW_TAG_formal_parameter,
    		DW_CHILDREN_no,
    		[]dwAttrForm{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. src/cmd/internal/dwarf/dwarf.go

    func putAbstractVar(ctxt Context, info Sym, v *Var) {
    	// The contents of this functions are used to generate putAbstractVarAbbrev automatically, see TestPutVarAbbrevGenerator.
    	abbrev := putAbstractVarAbbrev(v)
    	Uleb128put(ctxt, info, int64(abbrev))
    	putattr(ctxt, info, abbrev, DW_FORM_string, DW_CLS_STRING, int64(len(v.Name)), v.Name) // DW_AT_name
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 43K bytes
    - Viewed (0)
Back to top