Author: Jonas Devlieghere Date: 2021-02-11T20:40:59-08:00 New Revision: 732534ed64284b7ec6dde98e7b0ff779fce6b3d4
URL: https://github.com/llvm/llvm-project/commit/732534ed64284b7ec6dde98e7b0ff779fce6b3d4 DIFF: https://github.com/llvm/llvm-project/commit/732534ed64284b7ec6dde98e7b0ff779fce6b3d4.diff LOG: [lldb] s/TARGET_OS_EMBEDDED/TARGET_OS_IPHONE/ TARGET_OS_EMBEDDED is deprecated, use TARGET_OS_IPHONE and/or TARGET_OS_SIMULATOR instead. Added: Modified: lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp Removed: ################################################################################ diff --git a/lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm b/lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm index 5e06792e0fbf..0376e46720c0 100644 --- a/lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm +++ b/lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm @@ -138,7 +138,7 @@ static void ParseOSVersion(llvm::VersionTuple &version, NSString *Key) { 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 diff --git a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp index 463a2a52f5df..548e21ad9aea 100644 --- a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp +++ b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp @@ -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 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits