Lines Matching refs:arch_spec

1060                                            lldb_private::ArchSpec &arch_spec,  in RefineModuleDetailsFromNote()  argument
1099 arch_spec.GetTriple().setOSName(os_name); in RefineModuleDetailsFromNote()
1100 arch_spec.GetTriple().setVendor(llvm::Triple::VendorType::UnknownVendor); in RefineModuleDetailsFromNote()
1124 arch_spec.GetTriple().setOS(llvm::Triple::OSType::Linux); in RefineModuleDetailsFromNote()
1125 arch_spec.GetTriple().setVendor( in RefineModuleDetailsFromNote()
1137 arch_spec.GetTriple().setOS(llvm::Triple::OSType::UnknownOS); in RefineModuleDetailsFromNote()
1138 arch_spec.GetTriple().setVendor( in RefineModuleDetailsFromNote()
1147 arch_spec.GetTriple().setOS(llvm::Triple::OSType::Solaris); in RefineModuleDetailsFromNote()
1148 arch_spec.GetTriple().setVendor( in RefineModuleDetailsFromNote()
1185 if (arch_spec.IsMIPS() && in RefineModuleDetailsFromNote()
1186 arch_spec.GetTriple().getOS() == llvm::Triple::OSType::UnknownOS) in RefineModuleDetailsFromNote()
1188 arch_spec.GetTriple().setOS(llvm::Triple::OSType::Linux); in RefineModuleDetailsFromNote()
1212 arch_spec.GetTriple().setOSName( in RefineModuleDetailsFromNote()
1215 arch_spec.GetTriple().setVendor(llvm::Triple::VendorType::UnknownVendor); in RefineModuleDetailsFromNote()
1221 arch_spec.GetTriple().setOS(llvm::Triple::OSType::NetBSD); in RefineModuleDetailsFromNote()
1222 arch_spec.GetTriple().setVendor(llvm::Triple::VendorType::UnknownVendor); in RefineModuleDetailsFromNote()
1227 arch_spec.GetTriple().setOS(llvm::Triple::OSType::OpenBSD); in RefineModuleDetailsFromNote()
1228 arch_spec.GetTriple().setVendor(llvm::Triple::VendorType::UnknownVendor); in RefineModuleDetailsFromNote()
1230 arch_spec.GetTriple().setOS(llvm::Triple::OSType::Linux); in RefineModuleDetailsFromNote()
1231 arch_spec.GetTriple().setEnvironment( in RefineModuleDetailsFromNote()
1236 arch_spec.GetTriple().setOS(llvm::Triple::OSType::Linux); in RefineModuleDetailsFromNote()
1277 arch_spec.GetTriple().setOS(llvm::Triple::OSType::Linux); in RefineModuleDetailsFromNote()
1281 if (arch_spec.IsMIPS() && in RefineModuleDetailsFromNote()
1282 arch_spec.GetTriple().getOS() == llvm::Triple::OSType::UnknownOS) in RefineModuleDetailsFromNote()
1285 arch_spec.GetTriple().setOS(llvm::Triple::OSType::Linux); in RefineModuleDetailsFromNote()
1298 ArchSpec &arch_spec) { in ParseARMAttributes() argument
1311 if (arch_spec.GetTriple().getEnvironment() == in ParseARMAttributes()
1313 arch_spec.GetTriple().setEnvironment(llvm::Triple::EABI); in ParseARMAttributes()
1345 if (arch_spec.GetTriple().getEnvironment() == in ParseARMAttributes()
1347 arch_spec.GetTriple().getEnvironment() == llvm::Triple::EABIHF) in ParseARMAttributes()
1348 arch_spec.GetTriple().setEnvironment(llvm::Triple::EABI); in ParseARMAttributes()
1350 arch_spec.SetFlags(ArchSpec::eARM_abi_soft_float); in ParseARMAttributes()
1352 if (arch_spec.GetTriple().getEnvironment() == in ParseARMAttributes()
1354 arch_spec.GetTriple().getEnvironment() == llvm::Triple::EABI) in ParseARMAttributes()
1355 arch_spec.GetTriple().setEnvironment(llvm::Triple::EABIHF); in ParseARMAttributes()
1357 arch_spec.SetFlags(ArchSpec::eARM_abi_hard_float); in ParseARMAttributes()
1374 ArchSpec &arch_spec) { in GetSectionHeaderInfo() argument
1381 if (arch_spec.GetTriple().getOS() == llvm::Triple::OSType::UnknownOS) { in GetSectionHeaderInfo()
1385 arch_spec.SetArchitecture(eArchTypeELF, header.e_machine, sub_type, in GetSectionHeaderInfo()
1395 spec_ostype = arch_spec.GetTriple().getOS(); in GetSectionHeaderInfo()
1400 if (arch_spec.GetMachine() == llvm::Triple::mips || in GetSectionHeaderInfo()
1401 arch_spec.GetMachine() == llvm::Triple::mipsel || in GetSectionHeaderInfo()
1402 arch_spec.GetMachine() == llvm::Triple::mips64 || in GetSectionHeaderInfo()
1403 arch_spec.GetMachine() == llvm::Triple::mips64el) { in GetSectionHeaderInfo()
1406 arch_spec.SetFlags(ArchSpec::eMIPSAse_micromips); in GetSectionHeaderInfo()
1409 arch_spec.SetFlags(ArchSpec::eMIPSAse_mips16); in GetSectionHeaderInfo()
1412 arch_spec.SetFlags(ArchSpec::eMIPSAse_mdmx); in GetSectionHeaderInfo()
1419 if (arch_spec.GetMachine() == llvm::Triple::arm || in GetSectionHeaderInfo()
1420 arch_spec.GetMachine() == llvm::Triple::thumb) { in GetSectionHeaderInfo()
1422 arch_spec.SetFlags(ArchSpec::eARM_abi_soft_float); in GetSectionHeaderInfo()
1424 arch_spec.SetFlags(ArchSpec::eARM_abi_hard_float); in GetSectionHeaderInfo()
1427 if (arch_spec.GetMachine() == llvm::Triple::riscv32 || in GetSectionHeaderInfo()
1428 arch_spec.GetMachine() == llvm::Triple::riscv64) { in GetSectionHeaderInfo()
1429 uint32_t flags = arch_spec.GetFlags(); in GetSectionHeaderInfo()
1446 arch_spec.SetFlags(flags); in GetSectionHeaderInfo()
1492 if (arch_spec.IsMIPS()) { in GetSectionHeaderInfo()
1493 uint32_t arch_flags = arch_spec.GetFlags(); in GetSectionHeaderInfo()
1555 arch_spec.SetFlags(arch_flags); in GetSectionHeaderInfo()
1558 if (arch_spec.GetMachine() == llvm::Triple::arm || in GetSectionHeaderInfo()
1559 arch_spec.GetMachine() == llvm::Triple::thumb) { in GetSectionHeaderInfo()
1564 ParseARMAttributes(data, section_size, arch_spec); in GetSectionHeaderInfo()
1592 Status error = RefineModuleDetailsFromNote(data, arch_spec, uuid); in GetSectionHeaderInfo()
1602 if (arch_spec.GetTriple().getVendor() == llvm::Triple::UnknownVendor) in GetSectionHeaderInfo()
1603 arch_spec.GetTriple().setVendorName(llvm::StringRef()); in GetSectionHeaderInfo()
1604 if (arch_spec.GetTriple().getOS() == llvm::Triple::UnknownOS) in GetSectionHeaderInfo()
1605 arch_spec.GetTriple().setOSName(llvm::StringRef()); in GetSectionHeaderInfo()