From 7fde1b3b831fa84920d4e2d344f0e210545ab5b9 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Sat, 2 Aug 2014 00:15:37 +0000 Subject: Now that setting an architecture from a mach-o CPU type and subtype doesn't set the OS type, make sure to set it. llvm-svn: 214600 --- lldb/source/Host/macosx/Host.mm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lldb/source') diff --git a/lldb/source/Host/macosx/Host.mm b/lldb/source/Host/macosx/Host.mm index 69b65fbf2c6..6b5ca51efb0 100644 --- a/lldb/source/Host/macosx/Host.mm +++ b/lldb/source/Host/macosx/Host.mm @@ -1061,6 +1061,8 @@ GetMacOSXProcessArgs (const ProcessInstanceInfoMatch *match_info_ptr, { if (strncmp(cstr, "SIMULATOR_UDID=", strlen("SIMULATOR_UDID=")) == 0) process_info.GetArchitecture().GetTriple().setOS(llvm::Triple::IOS); + else + process_info.GetArchitecture().GetTriple().setOS(llvm::Triple::MacOSX); } proc_env.AppendArgument(cstr); -- cgit v1.2.1