Lines Matching refs:arch_spec
1021 lldb_private::ArchSpec &arch_spec, in RefineModuleDetailsFromNote() argument
1060 arch_spec.GetTriple().setOSName(os_name); in RefineModuleDetailsFromNote()
1061 arch_spec.GetTriple().setVendor(llvm::Triple::VendorType::UnknownVendor); in RefineModuleDetailsFromNote()
1085 arch_spec.GetTriple().setOS(llvm::Triple::OSType::Linux); in RefineModuleDetailsFromNote()
1086 arch_spec.GetTriple().setVendor( in RefineModuleDetailsFromNote()
1098 arch_spec.GetTriple().setOS(llvm::Triple::OSType::UnknownOS); in RefineModuleDetailsFromNote()
1099 arch_spec.GetTriple().setVendor( in RefineModuleDetailsFromNote()
1108 arch_spec.GetTriple().setOS(llvm::Triple::OSType::Solaris); in RefineModuleDetailsFromNote()
1109 arch_spec.GetTriple().setVendor( in RefineModuleDetailsFromNote()
1146 if (arch_spec.IsMIPS() && in RefineModuleDetailsFromNote()
1147 arch_spec.GetTriple().getOS() == llvm::Triple::OSType::UnknownOS) in RefineModuleDetailsFromNote()
1149 arch_spec.GetTriple().setOS(llvm::Triple::OSType::Linux); in RefineModuleDetailsFromNote()
1173 arch_spec.GetTriple().setOSName( in RefineModuleDetailsFromNote()
1176 arch_spec.GetTriple().setVendor(llvm::Triple::VendorType::UnknownVendor); in RefineModuleDetailsFromNote()
1182 arch_spec.GetTriple().setOS(llvm::Triple::OSType::NetBSD); in RefineModuleDetailsFromNote()
1183 arch_spec.GetTriple().setVendor(llvm::Triple::VendorType::UnknownVendor); in RefineModuleDetailsFromNote()
1188 arch_spec.GetTriple().setOS(llvm::Triple::OSType::OpenBSD); in RefineModuleDetailsFromNote()
1189 arch_spec.GetTriple().setVendor(llvm::Triple::VendorType::UnknownVendor); in RefineModuleDetailsFromNote()
1191 arch_spec.GetTriple().setOS(llvm::Triple::OSType::Linux); in RefineModuleDetailsFromNote()
1192 arch_spec.GetTriple().setEnvironment( in RefineModuleDetailsFromNote()
1197 arch_spec.GetTriple().setOS(llvm::Triple::OSType::Linux); in RefineModuleDetailsFromNote()
1238 arch_spec.GetTriple().setOS(llvm::Triple::OSType::Linux); in RefineModuleDetailsFromNote()
1242 if (arch_spec.IsMIPS() && in RefineModuleDetailsFromNote()
1243 arch_spec.GetTriple().getOS() == llvm::Triple::OSType::UnknownOS) in RefineModuleDetailsFromNote()
1246 arch_spec.GetTriple().setOS(llvm::Triple::OSType::Linux); in RefineModuleDetailsFromNote()
1259 ArchSpec &arch_spec) { in ParseARMAttributes() argument
1272 if (arch_spec.GetTriple().getEnvironment() == in ParseARMAttributes()
1274 arch_spec.GetTriple().setEnvironment(llvm::Triple::EABI); in ParseARMAttributes()
1306 if (arch_spec.GetTriple().getEnvironment() == in ParseARMAttributes()
1308 arch_spec.GetTriple().getEnvironment() == llvm::Triple::EABIHF) in ParseARMAttributes()
1309 arch_spec.GetTriple().setEnvironment(llvm::Triple::EABI); in ParseARMAttributes()
1311 arch_spec.SetFlags(ArchSpec::eARM_abi_soft_float); in ParseARMAttributes()
1313 if (arch_spec.GetTriple().getEnvironment() == in ParseARMAttributes()
1315 arch_spec.GetTriple().getEnvironment() == llvm::Triple::EABI) in ParseARMAttributes()
1316 arch_spec.GetTriple().setEnvironment(llvm::Triple::EABIHF); in ParseARMAttributes()
1318 arch_spec.SetFlags(ArchSpec::eARM_abi_hard_float); in ParseARMAttributes()
1335 ArchSpec &arch_spec) { in GetSectionHeaderInfo() argument
1342 if (arch_spec.GetTriple().getOS() == llvm::Triple::OSType::UnknownOS) { in GetSectionHeaderInfo()
1346 arch_spec.SetArchitecture(eArchTypeELF, header.e_machine, sub_type, in GetSectionHeaderInfo()
1356 spec_ostype = arch_spec.GetTriple().getOS(); in GetSectionHeaderInfo()
1361 if (arch_spec.GetMachine() == llvm::Triple::mips || in GetSectionHeaderInfo()
1362 arch_spec.GetMachine() == llvm::Triple::mipsel || in GetSectionHeaderInfo()
1363 arch_spec.GetMachine() == llvm::Triple::mips64 || in GetSectionHeaderInfo()
1364 arch_spec.GetMachine() == llvm::Triple::mips64el) { in GetSectionHeaderInfo()
1367 arch_spec.SetFlags(ArchSpec::eMIPSAse_micromips); in GetSectionHeaderInfo()
1370 arch_spec.SetFlags(ArchSpec::eMIPSAse_mips16); in GetSectionHeaderInfo()
1373 arch_spec.SetFlags(ArchSpec::eMIPSAse_mdmx); in GetSectionHeaderInfo()
1380 if (arch_spec.GetMachine() == llvm::Triple::arm || in GetSectionHeaderInfo()
1381 arch_spec.GetMachine() == llvm::Triple::thumb) { in GetSectionHeaderInfo()
1383 arch_spec.SetFlags(ArchSpec::eARM_abi_soft_float); in GetSectionHeaderInfo()
1385 arch_spec.SetFlags(ArchSpec::eARM_abi_hard_float); in GetSectionHeaderInfo()
1388 if (arch_spec.GetMachine() == llvm::Triple::riscv32 || in GetSectionHeaderInfo()
1389 arch_spec.GetMachine() == llvm::Triple::riscv64) { in GetSectionHeaderInfo()
1390 uint32_t flags = arch_spec.GetFlags(); in GetSectionHeaderInfo()
1407 arch_spec.SetFlags(flags); in GetSectionHeaderInfo()
1453 if (arch_spec.IsMIPS()) { in GetSectionHeaderInfo()
1454 uint32_t arch_flags = arch_spec.GetFlags(); in GetSectionHeaderInfo()
1516 arch_spec.SetFlags(arch_flags); in GetSectionHeaderInfo()
1519 if (arch_spec.GetMachine() == llvm::Triple::arm || in GetSectionHeaderInfo()
1520 arch_spec.GetMachine() == llvm::Triple::thumb) { in GetSectionHeaderInfo()
1525 ParseARMAttributes(data, section_size, arch_spec); in GetSectionHeaderInfo()
1553 Status error = RefineModuleDetailsFromNote(data, arch_spec, uuid); in GetSectionHeaderInfo()
1563 if (arch_spec.GetTriple().getVendor() == llvm::Triple::UnknownVendor) in GetSectionHeaderInfo()
1564 arch_spec.GetTriple().setVendorName(llvm::StringRef()); in GetSectionHeaderInfo()
1565 if (arch_spec.GetTriple().getOS() == llvm::Triple::UnknownOS) in GetSectionHeaderInfo()
1566 arch_spec.GetTriple().setOSName(llvm::StringRef()); in GetSectionHeaderInfo()