[PATCH] D42390: msan: Pass --disable-new-dtags for tests

Don Hinton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 24 14:05:47 PST 2018


hintonda added a comment.

IIUC, the search order is:

- LD_PRELOAD, if set
- DT_RPATH, if DT_RUNPATH is not set
- LD_LIBRARY_PATH unless priviledged, i.e., setuid/setgid bits set
- DT_RUNPATH (when linked with --enable-new-dtags)

So, DT_RUNPATH will not trump LD_LIBRARY_PATH unless setuid/setgid bits are set, which is not the case for these tests.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D42390





More information about the llvm-commits mailing list