diff options
author | Keith Smiley <keithbsmiley@gmail.com> | 2024-08-24 09:20:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-24 09:20:14 -0700 |
commit | 65b7cbbd8735b90933369364153b982d498f649a (patch) | |
tree | 63ebe700003398c73c4d699ff630ec16a3bc9a42 /llvm/lib/Support/VirtualFileSystem.cpp | |
parent | 08acc3f73b64bed578d18812a04015cb537c9c82 (diff) | |
download | llvm-65b7cbbd8735b90933369364153b982d498f649a.zip llvm-65b7cbbd8735b90933369364153b982d498f649a.tar.gz llvm-65b7cbbd8735b90933369364153b982d498f649a.tar.bz2 |
[lit] Export env vars in script to avoid pruning (#105759)
On macOS the dynamic loader prunes dyld specific environment variables
such as `DYLD_INSERT_LIBRARIES`, `DYLD_LIBRARY_PATH`, etc. If these are
set in the lit config it's safe to assume that the user actually wanted
their subprocesses to run with these variables, versus the python
interpreter that gets executed with them before they are pruned. This
change exports all known variables in the shell script instead of
relying on them being passed through.
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions