func (a *Architecture) GetPathSuffix() string {
	switch a.Machine {
	case elf.EM_X86_64:
		return ""
	case elf.EM_386:
		return "32"
	default:
		return a.Machine.String()
	}
}
GetPathSuffix will return an appropriate descriptor to use for the
bucket configuration. This is used in the generated filenames
package libabi
import (
	"debug/elf"
)
type Architecture struct {
	Machine       elf.Machine                 
	Symbols       map[string]map[string]bool  
	HiddenSymbols map[string]map[string]bool  
	Dependencies  map[string]bool             
}
func NewArchitecture(m elf.Machine) *Architecture {
	return &Architecture{
		Machine:       m,
		Symbols:       make(map[string]map[string]bool),
		HiddenSymbols: make(map[string]map[string]bool),
		Dependencies:  make(map[string]bool),
	}
}
func (a *Architecture) GetSymbolsTarget(r *Record) map[string]map[string]bool {
	if r.Flags&RecordTypeExport == RecordTypeExport {
		return a.Symbols
	}
	return a.HiddenSymbols
}
func (a *Report) GetBucket(record *Record) *Architecture {
	if arch, ok := a.Arches[record.Machine]; ok {
		return arch
	}
	bucket := NewArchitecture(record.Machine)
	a.Arches[record.Machine] = bucket
	return bucket
}