Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetAttrOnList (0.19 sec)

  1. src/cmd/link/internal/loader/loader_test.go

    	// Test expansion of attr bitmaps
    	for idx := 0; idx < 36; idx++ {
    		es := ldr.LookupOrCreateSym(fmt.Sprintf("zext%d", idx), 0)
    		if ldr.AttrOnList(es) {
    			t.Errorf("expected OnList after creation")
    		}
    		ldr.SetAttrOnList(es, true)
    		if !ldr.AttrOnList(es) {
    			t.Errorf("expected !OnList after update")
    		}
    		if ldr.AttrDuplicateOK(es) {
    			t.Errorf("expected DupOK after creation")
    		}
    		ldr.SetAttrDuplicateOK(es, true)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:09 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. src/cmd/link/internal/loadelf/ldelf.go

    				return errorf("symbol %s listed multiple times",
    					l.SymName(s))
    			}
    			l.SetAttrOnList(s, true)
    			textp = append(textp, s)
    			for ss := l.SubSym(s); ss != 0; ss = l.SubSym(ss) {
    				if l.AttrOnList(ss) {
    					return errorf("symbol %s listed multiple times",
    						l.SymName(ss))
    				}
    				l.SetAttrOnList(ss, true)
    				textp = append(textp, ss)
    			}
    		}
    	}
    
    	// load relocations
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:12:12 UTC 2024
    - 33.9K bytes
    - Viewed (0)
Back to top