[PATCH] D79695: [test][compiler-rt] Avoid LD_PRELOAD for "outer" dynamic linkers

Jinsong Ji via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 21 12:59:34 PDT 2020


jsji added a comment.

>   issues where the built library needs to be loaded with the dynamic linker that was configured with the build (and cannot, for example, be loaded by the dynamic linker associated with the env utility).

No sure I understand the issues. `%env_asan_opts` will be substituted to `env ASAN_OPTIONS=...` in LIT run as well. If the libraray can NOT be loaded by the dynamic linker associated with `env`, then why it will work with ` env ASAN_OPTIONS=... .. LD_PRELOAD=...` now?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79695





More information about the llvm-commits mailing list