[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:
Jonas Devlieghere 2021-02-11 20:40:00 -08:00
parent 4d3a061c32
commit 732534ed64
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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