[Lldb-commits] [PATCH] D85049: Unify the code that updates the ArchSpec after finding a fat binary with how it is done for a lean binary

Adrian Prantl via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 5 17:36:25 PDT 2020


aprantl added inline comments.


================
Comment at: lldb/source/Target/TargetList.cpp:162
             // Only one arch and none was specified.
-            prefer_platform_arch = true;
-            platform_arch = matching_module_spec.GetArchitecture();
+            update_platform_arch(matching_module_spec.GetArchitecture());
           }
----------------
this is wrong. it should be at line 132!

Thanks @jingham !


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85049/new/

https://reviews.llvm.org/D85049



More information about the lldb-commits mailing list