summaryrefslogblamecommitdiff
path: root/archstr.cc
blob: b07cb324f27abdacf494ea519beb3e77f54c99f6 (plain) (tree)





















                                               
# include <luma/main.hh>
char const * luma::archstr(luma::arch_t arch) {
	char const * str = "";
	switch(arch) {
	default:
		str = "Unknown";
		break;
	case luma::arch_t::aarch64:
		str = "ARM64/AArch64";
		break;
	case luma::arch_t::amd64:
		str = "AMD64/x86-64";
		break;
	case luma::arch_t::ia64:
		str = "IA-64";
		break;
	case luma::arch_t::ppc64:
		str = "PPC64";
		break;
	}
	return str;
}