summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/ArchSpec.cpp
diff options
context:
space:
mode:
authorOleksiy Vyalov <ovyalov@google.com>2015-05-29 22:45:47 +0000
committerOleksiy Vyalov <ovyalov@google.com>2015-05-29 22:45:47 +0000
commit817f40a7fa1c294b0069696b0148125934b358bd (patch)
tree5c6d9348afd3ec096996a63ea4f0d279e3050f3a /lldb/source/Core/ArchSpec.cpp
parentba6e2ae0c56d551b19a909e04f8dc2e864e0a383 (diff)
downloadbcm5719-llvm-817f40a7fa1c294b0069696b0148125934b358bd.tar.gz
bcm5719-llvm-817f40a7fa1c294b0069696b0148125934b358bd.zip
Leave OS type and vendor as unspecified unknowns.
http://reviews.llvm.org/D10080 llvm-svn: 238623
Diffstat (limited to 'lldb/source/Core/ArchSpec.cpp')
-rw-r--r--lldb/source/Core/ArchSpec.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/lldb/source/Core/ArchSpec.cpp b/lldb/source/Core/ArchSpec.cpp
index 6c02558199d..0683d6607ef 100644
--- a/lldb/source/Core/ArchSpec.cpp
+++ b/lldb/source/Core/ArchSpec.cpp
@@ -861,7 +861,6 @@ ArchSpec::SetArchitecture (ArchitectureType arch_type, uint32_t cpu, uint32_t su
if (arch_type == eArchTypeMachO)
{
m_triple.setVendor (llvm::Triple::Apple);
-
switch (core_def->machine)
{
case llvm::Triple::aarch64:
@@ -886,11 +885,6 @@ ArchSpec::SetArchitecture (ArchitectureType arch_type, uint32_t cpu, uint32_t su
break;
}
}
- else
- {
- m_triple.setVendor (llvm::Triple::UnknownVendor);
- m_triple.setOS (llvm::Triple::UnknownOS);
- }
// Fall back onto setting the machine type if the arch by name failed...
if (m_triple.getArch () == llvm::Triple::UnknownArch)
m_triple.setArch (core_def->machine);
OpenPOWER on IntegriCloud