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
57 func FindToolchain(os android.OsType, arch android.Arch) Toolchain {
58 t, err := findToolchain(os, arch)
65 func findToolchain(os android.OsType, arch android.Arch) (Toolchain, error) {
66 factory := toolchainFactories[os][arch.ArchType]
68 return nil, fmt.Errorf("Toolchain not found for %s arch %q", os.String(), arch.String())
70 return factory(arch), nil
210 arch := t.LibclangRuntimeLibraryArch()
211 if arch == "" {
215 return "libclang_rt." + library + "-" + arch
217 return "libclang_rt." + library + "-" + arch + "-android"