|
LLDB mainline
|
An abstraction which groups an XcodeSDK with the sysroot it was used from. More...
#include <XcodeSDK.h>
Public Member Functions | |
| XcodeSDKAndSysroot ()=default | |
| Constructs an empty SDK with no sysroot. | |
| XcodeSDKAndSysroot (XcodeSDK sdk, FileSpec sysroot) | |
| XcodeSDKAndSysroot (std::string name, FileSpec sysroot) | |
| bool | operator== (const XcodeSDKAndSysroot &other) const |
| bool | operator!= (const XcodeSDKAndSysroot &other) const |
| const XcodeSDK & | GetSDK () const |
| const FileSpec & | GetSysroot () const |
| llvm::StringRef | GetString () const |
| XcodeSDK::Type | GetType () const |
| void | Merge (const XcodeSDKAndSysroot &other) |
| bool | IsAppleInternalSDK () const |
Private Attributes | |
| XcodeSDK | m_sdk |
| FileSpec | m_sysroot |
An abstraction which groups an XcodeSDK with the sysroot it was used from.
The sysroot is not necessarily a path to the SDK named by the XcodeSDK: a compiler may record a sysroot that was remapped, for example with -fdebug-prefix-map, in which case it is only meaningful verbatim.
Definition at line 101 of file XcodeSDK.h.
|
default |
Constructs an empty SDK with no sysroot.
Referenced by Merge(), operator!=(), and operator==().
Definition at line 108 of file XcodeSDK.h.
|
inline |
Definition at line 110 of file XcodeSDK.h.
|
inline |
Definition at line 116 of file XcodeSDK.h.
References m_sdk.
Referenced by lldb_private::PlatformDarwin::ResolveXcodeSDK().
|
inline |
Definition at line 118 of file XcodeSDK.h.
References m_sdk.
Referenced by lldb_private::SymbolFileOnDemand::ParseXcodeSDK().
|
inline |
Definition at line 117 of file XcodeSDK.h.
References m_sysroot.
Referenced by lldb_private::PlatformDarwin::ResolveXcodeSDK().
|
inline |
Definition at line 119 of file XcodeSDK.h.
References m_sdk.
|
inline |
Definition at line 122 of file XcodeSDK.h.
References m_sdk.
Referenced by lldb_private::PlatformDarwin::GetSDKPathFromDebugInfo().
| void XcodeSDKAndSysroot::Merge | ( | const XcodeSDKAndSysroot & | other | ) |
Definition at line 312 of file XcodeSDK.cpp.
References lldb_private::XcodeSDK::GetString(), m_sdk, m_sysroot, and XcodeSDKAndSysroot().
Referenced by lldb_private::PlatformDarwin::GetSDKPathFromDebugInfo(), and ResolveSDKPathFromDebugInfo().
| bool XcodeSDKAndSysroot::operator!= | ( | const XcodeSDKAndSysroot & | other | ) | const |
Definition at line 336 of file XcodeSDK.cpp.
References XcodeSDKAndSysroot().
| bool XcodeSDKAndSysroot::operator== | ( | const XcodeSDKAndSysroot & | other | ) | const |
Definition at line 332 of file XcodeSDK.cpp.
References m_sdk, m_sysroot, and XcodeSDKAndSysroot().
|
private |
Definition at line 102 of file XcodeSDK.h.
Referenced by GetSDK(), GetString(), GetType(), IsAppleInternalSDK(), Merge(), operator==(), XcodeSDKAndSysroot(), and XcodeSDKAndSysroot().
|
private |
Definition at line 103 of file XcodeSDK.h.
Referenced by GetSysroot(), Merge(), operator==(), XcodeSDKAndSysroot(), and XcodeSDKAndSysroot().