When constructing an ArchSpec from a MachO cpu type and subtype, don't set the OS...
authorGreg Clayton <gclayton@apple.com>
Tue, 29 Jul 2014 18:04:57 +0000 (18:04 +0000)
committerGreg Clayton <gclayton@apple.com>
Tue, 29 Jul 2014 18:04:57 +0000 (18:04 +0000)
commita3a6c12c0315d03fd8139606793b0d22ef2a57f6
tree65ba10f4ff154661c8c05ddef9dc538bd10366b3
parent86fdba2f3fc36535b2d4fa2dfb56d31d980a00f5
When constructing an ArchSpec from a MachO cpu type and subtype, don't set the OS for x86_64 and x86 in case the binary ends up being for macosx or ios.

<rdar://problem/17819272>

llvm-svn: 214188
lldb/source/Core/ArchSpec.cpp
lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp