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

Hubert Tong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 21 13:32:53 PDT 2020


hubert.reinterpretcast added a comment.

In D79695#2049776 <https://reviews.llvm.org/D79695#2049776>, @jsji wrote:

> 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?


This would be because the dynamic loader associated with `env` no longer has `LD_PRELOAD` set in its environment.


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