Searched refs:g_fields (Results 1 – 2 of 2) sorted by relevance
75 HostInfoBaseFields *g_fields = nullptr; variable78 void HostInfoBase::Initialize() { g_fields = new HostInfoBaseFields(); } in Initialize()81 delete g_fields; in Terminate()82 g_fields = nullptr; in Terminate()86 llvm::call_once(g_fields->m_host_triple_once, []() { in GetTargetTriple()87 g_fields->m_host_triple = in GetTargetTriple()90 return g_fields->m_host_triple; in GetTargetTriple()94 llvm::call_once(g_fields->m_host_arch_once, []() { in GetArchitecture()95 HostInfo::ComputeHostArchitectureSupport(g_fields->m_host_arch_32, in GetArchitecture()96 g_fields->m_host_arch_64); in GetArchitecture()[all …]
33 HostInfoLinuxFields *g_fields = nullptr; variable39 g_fields = new HostInfoLinuxFields(); in Initialize()53 g_fields->m_os_version.tryParse(release); in GetOSVersion()56 return g_fields->m_os_version; in GetOSVersion()139 g_fields->m_distribution_id = id_string; in GetDistributionId()141 g_fields->m_distribution_id.c_str()); in GetDistributionId()158 return g_fields->m_distribution_id; in GetDistributionId()