func (a Attribute) ContainsTextFlags() bool {
	flags, _ := a.split()
	return len(flags) > 0
}
ContainsTextFlags returns whether the Asm() representation requires macros in "textflags.h".
package attr
import (
	"fmt"
	"math/bits"
	"strings"
)
type Attribute uint16
const (
	NOPROF Attribute = 1 << iota
	DUPOK
	NOSPLIT
	RODATA
	NOPTR
	WRAPPER
	NEEDCTXT
	_
	TLSBSS
	NOFRAME
	REFLECTMETHOD
	TOPFRAME
)
func (a Attribute) Asm() string {
	parts, rest := a.split()
	if len(parts) == 0 || rest != 0 {
		parts = append(parts, fmt.Sprintf("%d", rest))
	}
	return strings.Join(parts, "|")
}