Lines Matching refs:arch
72 def get_target_binary_path(arch: str, binary_name: str) -> str:
73 if arch == 'aarch64':
74 arch = 'arm64'
75 arch_dir = os.path.join(get_script_dir(), "bin", "android", arch)
195 def _get_binutils_path_in_ndk(cls, toolname: str, arch: Optional[str], platform: str
197 if not arch:
198 arch = 'arm64'
199 if arch == 'arm64':
201 elif arch == 'arm':
203 elif arch == 'x86_64':
205 elif arch == 'x86':
208 log_fatal('unexpected arch %s' % arch)
214 arch: Optional[str] = None) -> Optional[str]:
237 toolname, arch, platform)
584 arch = self.readelf.get_arch(real_path)
585 if arch == 'arm64':
587 if arch == 'arm':
824 arch = self.readelf.get_arch(real_path)
825 if arch == 'unknown':
827 return (str(real_path), arch)
832 real_path, arch = dso_info
833 objdump_path = self.objdump_paths.get(arch)
835 objdump_path = ToolFinder.find_tool_path('llvm-objdump', self.ndk_path, arch)
838 self.objdump_paths[arch] = objdump_path
845 if arch == 'arm' and 'llvm-objdump' in objdump_path:
875 real_path, arch = dso_info
876 objdump_path = self.objdump_paths.get(arch)
878 objdump_path = ToolFinder.find_tool_path('llvm-objdump', self.ndk_path, arch)
881 self.objdump_paths[arch] = objdump_path
890 if arch == 'arm' and 'llvm-objdump' in objdump_path: