LLDB  mainline
Macros | Functions
HostInfoMacOSX.mm File Reference
#include "lldb/Host/macosx/HostInfoMacOSX.h"
#include "lldb/Host/FileSystem.h"
#include "lldb/Host/Host.h"
#include "lldb/Host/HostInfo.h"
#include "lldb/Utility/Args.h"
#include "lldb/Utility/Log.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/raw_ostream.h"
#include <string>
#include <stdlib.h>
#include <sys/sysctl.h>
#include <sys/syslimits.h>
#include <sys/types.h>
#include <CoreFoundation/CoreFoundation.h>
#include <Foundation/Foundation.h>
#include <mach-o/dyld.h>
#include <objc/objc-auto.h>
#include <AvailabilityMacros.h>
#include <TargetConditionals.h>
Include dependency graph for HostInfoMacOSX.mm:

Go to the source code of this file.

Macros

#define CPU_SUBTYPE_X86_64_H   ((cpu_subtype_t)8)
 
#define CPU_TYPE_ARM64   (CPU_TYPE_ARM | CPU_ARCH_ABI64)
 
#define CPU_ARCH_ABI64_32   0x02000000
 
#define CPU_TYPE_ARM64_32   (CPU_TYPE_ARM | CPU_ARCH_ABI64_32)
 

Functions

static void ParseOSVersion (llvm::VersionTuple &version, NSString *Key)
 
static std::string GetEnvDeveloperDir ()
 Return and cache $DEVELOPER_DIR if it is set and exists. More...
 
static std::string GetXcodeSDK (XcodeSDK sdk)
 

Macro Definition Documentation

◆ CPU_ARCH_ABI64_32

#define CPU_ARCH_ABI64_32   0x02000000

Definition at line 47 of file HostInfoMacOSX.mm.

◆ CPU_SUBTYPE_X86_64_H

#define CPU_SUBTYPE_X86_64_H   ((cpu_subtype_t)8)

◆ CPU_TYPE_ARM64

#define CPU_TYPE_ARM64   (CPU_TYPE_ARM | CPU_ARCH_ABI64)

◆ CPU_TYPE_ARM64_32

#define CPU_TYPE_ARM64_32   (CPU_TYPE_ARM | CPU_ARCH_ABI64_32)

Function Documentation

◆ GetEnvDeveloperDir()

static std::string GetEnvDeveloperDir ( )
static

Return and cache $DEVELOPER_DIR if it is set and exists.

Definition at line 304 of file HostInfoMacOSX.mm.

References lldb_private::FileSpec::GetPath(), and lldb_private::FileSystem::Instance().

Referenced by lldb_private::HostInfoMacOSX::GetXcodeContentsDirectory(), and GetXcodeSDK().

◆ GetXcodeSDK()

static std::string GetXcodeSDK ( XcodeSDK  sdk)
static

◆ ParseOSVersion()

static void ParseOSVersion ( llvm::VersionTuple &  version,
NSString *  Key 
)
static