forked from OSchip/llvm-project
[lldb] s/TARGET_OS_EMBEDDED/TARGET_OS_IPHONE/
TARGET_OS_EMBEDDED is deprecated, use TARGET_OS_IPHONE and/or TARGET_OS_SIMULATOR instead.
This commit is contained in:
parent
4d3a061c32
commit
732534ed64
|
@ -138,7 +138,7 @@ bool HostInfoMacOSX::ComputeSupportExeDirectory(FileSpec &file_spec) {
|
|||
size_t framework_pos = raw_path.find("LLDB.framework");
|
||||
if (framework_pos != std::string::npos) {
|
||||
framework_pos += strlen("LLDB.framework");
|
||||
#if TARGET_OS_EMBEDDED
|
||||
#if TARGET_OS_IPHONE
|
||||
// Shallow bundle
|
||||
raw_path.resize(framework_pos);
|
||||
#else
|
||||
|
|
|
@ -2578,7 +2578,7 @@ size_t ObjectFileMachO::ParseSymtab() {
|
|||
typedef std::set<ConstString> IndirectSymbols;
|
||||
IndirectSymbols indirect_symbol_names;
|
||||
|
||||
#if defined(__APPLE__) && TARGET_OS_EMBEDDED
|
||||
#if TARGET_OS_IPHONE
|
||||
|
||||
// Some recent builds of the dyld_shared_cache (hereafter: DSC) have been
|
||||
// optimized by moving LOCAL symbols out of the memory mapped portion of
|
||||
|
|
Loading…
Reference in New Issue