LLDB mainline
PlatformDarwin.cpp File Reference
#include "PlatformDarwin.h"
#include <cstring>
#include <algorithm>
#include <memory>
#include <mutex>
#include <optional>
#include "lldb/Breakpoint/BreakpointLocation.h"
#include "lldb/Breakpoint/BreakpointSite.h"
#include "lldb/Core/Debugger.h"
#include "lldb/Core/Module.h"
#include "lldb/Core/ModuleSpec.h"
#include "lldb/Core/PluginManager.h"
#include "lldb/Core/Section.h"
#include "lldb/Host/Host.h"
#include "lldb/Host/HostInfo.h"
#include "lldb/Host/XML.h"
#include "lldb/Interpreter/CommandInterpreter.h"
#include "lldb/Interpreter/OptionValueProperties.h"
#include "lldb/Interpreter/OptionValueString.h"
#include "lldb/Interpreter/Options.h"
#include "lldb/Symbol/CompileUnit.h"
#include "lldb/Symbol/ObjectFile.h"
#include "lldb/Symbol/SymbolFile.h"
#include "lldb/Symbol/SymbolVendor.h"
#include "lldb/Target/Platform.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/Target.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Log.h"
#include "lldb/Utility/ProcessInfo.h"
#include "lldb/Utility/Status.h"
#include "lldb/Utility/Timer.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringTable.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Threading.h"
#include "llvm/Support/VersionTuple.h"
#include "clang/Driver/Options.inc"
#include "PlatformMacOSXProperties.inc"
#include "PlatformMacOSXPropertiesEnum.inc"

Go to the source code of this file.

Classes

class  PlatformDarwinProperties

Macros

#define OPTTABLE_STR_TABLE_CODE
#define LLDB_PROPERTIES_platformdarwin
#define LLDB_PROPERTIES_platformdarwin
#define OPTION(PREFIX_OFFSET, NAME_OFFSET, VAR, ...)

Enumerations

enum  

Functions

static Status ExceptionMaskValidator (const char *string, void *unused)
static PlatformDarwinPropertiesGetGlobalProperties ()
static llvm::ArrayRef< const char * > GetCompatibleArchs (ArchSpec::Core core)
static FileSpec GetXcodeSelectPath ()
static FileSpec GetCommandLineToolsLibraryPath ()
static llvm::Expected< lldb_private::FileSpecResolveSDKPathFromDebugInfo (lldb_private::Target *target)

Variables

static uint32_t g_initialize_count = 0

Macro Definition Documentation

◆ LLDB_PROPERTIES_platformdarwin [1/2]

#define LLDB_PROPERTIES_platformdarwin

Definition at line 121 of file PlatformDarwin.cpp.

◆ LLDB_PROPERTIES_platformdarwin [2/2]

#define LLDB_PROPERTIES_platformdarwin

Definition at line 121 of file PlatformDarwin.cpp.

◆ OPTION

#define OPTION ( PREFIX_OFFSET,
NAME_OFFSET,
VAR,
... )
Value:
llvm::StringRef opt_##VAR = OptionStrTable[NAME_OFFSET]; \
(void)opt_##VAR;

◆ OPTTABLE_STR_TABLE_CODE

#define OPTTABLE_STR_TABLE_CODE

Definition at line 58 of file PlatformDarwin.cpp.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Definition at line 125 of file PlatformDarwin.cpp.

Function Documentation

◆ ExceptionMaskValidator()

Status ExceptionMaskValidator ( const char * string,
void * unused )
static

◆ GetCommandLineToolsLibraryPath()

◆ GetCompatibleArchs()

◆ GetGlobalProperties()

PlatformDarwinProperties & GetGlobalProperties ( )
static

Definition at line 160 of file PlatformDarwin.cpp.

◆ GetXcodeSelectPath()

◆ ResolveSDKPathFromDebugInfo()

Variable Documentation

◆ g_initialize_count

uint32_t g_initialize_count = 0
static

Definition at line 89 of file PlatformDarwin.cpp.