Lines Matching refs:arch
24 type toolchainFactory func(arch android.Arch) Toolchain
28 func registerToolchainFactory(os android.OsType, arch android.ArchType, factory toolchainFactory) {
32 toolchainFactories[os][arch] = factory
35 func FindToolchain(os android.OsType, arch android.Arch) Toolchain {
36 factory := toolchainFactories[os][arch.ArchType]
38 panic(fmt.Errorf("Toolchain not found for %s arch %q", os.String(), arch.String()))
40 return factory(arch)
180 arch := t.LibclangRuntimeLibraryArch()
181 if arch == "" {
185 return "libclang_rt." + library + "-" + arch
187 return "libclang_rt." + library + "-" + arch + "-android"