[Lldb-commits] [lldb] r181074 - Unbreak lldb/test/macosx/universal.
Greg Clayton
gclayton at apple.com
Fri May 3 16:22:20 PDT 2013
Author: gclayton
Date: Fri May 3 18:22:20 2013
New Revision: 181074
URL: http://llvm.org/viewvc/llvm-project?rev=181074&view=rev
Log:
Unbreak lldb/test/macosx/universal.
Modified:
lldb/trunk/source/Target/TargetList.cpp
Modified: lldb/trunk/source/Target/TargetList.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/TargetList.cpp?rev=181074&r1=181073&r2=181074&view=diff
==============================================================================
--- lldb/trunk/source/Target/TargetList.cpp (original)
+++ lldb/trunk/source/Target/TargetList.cpp Fri May 3 18:22:20 2013
@@ -129,14 +129,16 @@ TargetList::CreateTarget (Debugger &debu
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();
+// }
+// }
}
}
}
More information about the lldb-commits
mailing list