[Lldb-commits] [PATCH] Search for loaded modules recursively in all system library sub-directories on Android

Oleksiy Vyalov ovyalov at google.com
Mon Mar 16 09:04:48 PDT 2015


In http://reviews.llvm.org/D8338#140925, @labath wrote:

> How does the dynamic linker find the shared libraries to load? Does it also
>  perform this recursive directory search?


Number of subdirectories is pretty small and I believe it's acceptable strategy to traverse all child directories in order to find a match - if new library subdirectories will be added in future such logic will still work without need to change.

> Seems like an odd design choice...


What approach would you suggest here?


http://reviews.llvm.org/D8338

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the lldb-commits mailing list