- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TextAttrString (0.12 sec)
-
src/cmd/internal/obj/link.go
s += fmt.Sprintf("UnknownAttribute(%d)|", a) } // Chop off trailing |, if present. if len(s) > 0 { s = s[:len(s)-1] } return s } // TextAttrString formats the symbol attributes for printing in as part of a TEXT prog. func (s *LSym) TextAttrString() string { attr := s.Attribute.String() if s.Func().FuncFlag&abi.FuncFlagTopFrame != 0 { if attr != "" { attr += "|" } attr += "TOPFRAME" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 33.1K bytes - Viewed (0) -
src/cmd/internal/obj/util.go
if p.As == ATEXT { // If there are attributes, print them. Otherwise, skip the comma. // In short, print one of these two: // TEXT foo(SB), DUPOK|NOSPLIT, $0 // TEXT foo(SB), $0 s := p.From.Sym.TextAttrString() if s != "" { fmt.Fprintf(w, "%s%s", sep, s) sep = ", " } } if p.To.Type != TYPE_NONE { io.WriteString(w, sep) WriteDconv(w, p, &p.To) sep = ", " }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 17.5K bytes - Viewed (0)