Skip to content

Commit

Permalink
lbt: Also prevent RTLD_DEEPBIND with TSAN (JuliaLang#42446)
Browse files Browse the repository at this point in the history
  • Loading branch information
Keno authored and LilithHafner committed Mar 8, 2022
1 parent 7876104 commit b4d646f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/loader_exe.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ int main(int argc, char * argv[])
{
#endif

#ifdef _COMPILER_ASAN_ENABLED_
// ASAN does not support RTLD_DEEPBIND
#if defined(_COMPILER_ASAN_ENABLED_) || defined(_COMPILER_TSAN_ENABLED_)
// ASAN/TSAN do not support RTLD_DEEPBIND
// https://github.com/google/sanitizers/issues/611
putenv("LBT_USE_RTLD_DEEPBIND=0");
#endif
Expand Down

0 comments on commit b4d646f

Please sign in to comment.