[Lldb-commits] [PATCH] D11163: Use target.exec-search-paths setting when resolving executable path for remote target.

Tamas Berghammer tberghammer at google.com
Tue Jul 14 02:12:58 PDT 2015


tberghammer accepted this revision.

================
Comment at: source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp:672
@@ -671,1 +671,3 @@
+    auto error = platform_sp->ResolveExecutable (
+        module_spec, module_sp, !executable_search_paths.IsEmpty() ? &executable_search_paths : nullptr);
     if (error.Fail ())
----------------
(nit): I would prefer to remove the inverse logic in the ?: operator


http://reviews.llvm.org/D11163







More information about the lldb-commits mailing list