summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2013-05-03 23:22:20 +0000
committerGreg Clayton <gclayton@apple.com>2013-05-03 23:22:20 +0000
commitb23b11300abd49c251d16bb491c004d597b5e19e (patch)
tree15eb24fe867e804db4ad301613b35828eaf3bf07
parent56c56d218d751398cb152d71e2b76bf6009afbf0 (diff)
downloadbcm5719-llvm-b23b11300abd49c251d16bb491c004d597b5e19e.tar.gz
bcm5719-llvm-b23b11300abd49c251d16bb491c004d597b5e19e.zip
Unbreak lldb/test/macosx/universal.
llvm-svn: 181074
-rw-r--r--lldb/source/Target/TargetList.cpp18
1 files changed, 10 insertions, 8 deletions
diff --git a/lldb/source/Target/TargetList.cpp b/lldb/source/Target/TargetList.cpp
index a4411b06d08..96cbc0a2106 100644
--- a/lldb/source/Target/TargetList.cpp
+++ b/lldb/source/Target/TargetList.cpp
@@ -129,14 +129,16 @@ TargetList::CreateTarget (Debugger &debugger,
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();
+// }
+// }
}
}
}
OpenPOWER on IntegriCloud