Unbreak lldb/test/macosx/universal.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@181074 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Target/TargetList.cpp b/source/Target/TargetList.cpp
index a4411b0..96cbc0a 100644
--- a/source/Target/TargetList.cpp
+++ b/source/Target/TargetList.cpp
@@ -129,14 +129,16 @@
platform_arch = matching_module_spec.GetArchitecture();
}
}
- else
- {
- // No arch specified, select the first arch
- if (module_specs.GetModuleSpecAtIndex(0, matching_module_spec))
- {
- platform_arch = matching_module_spec.GetArchitecture();
- }
- }
+ // Don't just select the first architecture, we want to let the platform select
+ // the best architecture first when there are multiple archs.
+// else
+// {
+// // No arch specified, select the first arch
+// if (module_specs.GetModuleSpecAtIndex(0, matching_module_spec))
+// {
+// platform_arch = matching_module_spec.GetArchitecture();
+// }
+// }
}
}
}