summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/macosx
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2018-10-11 00:28:35 +0000
committerJason Molenda <jmolenda@apple.com>2018-10-11 00:28:35 +0000
commit32762fd29ddb3db91c7deebd3c29b9dacda4d0c7 (patch)
treeccad48eaeb10f0e4d57f435d3f5d0ade413c7291 /lldb/source/Host/macosx
parent51fbb2e70ae8a2a8df24845f7b6fdf4a1aebce4f (diff)
downloadbcm5719-llvm-32762fd29ddb3db91c7deebd3c29b9dacda4d0c7.tar.gz
bcm5719-llvm-32762fd29ddb3db91c7deebd3c29b9dacda4d0c7.zip
Upstreaming the BridgeOS device support and the
LC_BUILD_VERSION load command handling - this commit is a combination of patches by Adrian Prantl and myself. llvm::Triple::BridgeOS isn't defined yet, so all references to that are currently commented out. Also update Xcode project file to build the NativePDB etc plugins. <rdar://problem/43353615> llvm-svn: 344209
Diffstat (limited to 'lldb/source/Host/macosx')
-rw-r--r--lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm b/lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm
index 73408f7d2d4..1bfe78bd261 100644
--- a/lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm
+++ b/lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm
@@ -253,6 +253,9 @@ void HostInfoMacOSX::ComputeHostArchitectureSupport(ArchSpec &arch_32,
#if defined(TARGET_OS_TV) && TARGET_OS_TV == 1
arch_32.GetTriple().setOS(llvm::Triple::TvOS);
arch_64.GetTriple().setOS(llvm::Triple::TvOS);
+#elif defined(TARGET_OS_BRIDGE) && TARGET_OS_BRIDGE == 1
+ arch_32.GetTriple().setOS(llvm::Triple::BridgeOS);
+ arch_64.GetTriple().setOS(llvm::Triple::BridgeOS);
#else
arch_32.GetTriple().setOS(llvm::Triple::IOS);
arch_64.GetTriple().setOS(llvm::Triple::IOS);
OpenPOWER on IntegriCloud