diff options
| author | Mikhail Maltsev <mikhail.maltsev@arm.com> | 2020-09-28 17:46:03 +0100 |
|---|---|---|
| committer | Mikhail Maltsev <mikhail.maltsev@arm.com> | 2020-09-28 17:46:03 +0100 |
| commit | 07b7a24e3fe86fe64ba5a56629cb290f3bd3b86d (patch) | |
| tree | df314cf3f822a20b11bbcc31375a0f186815e6be /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 06bc685fa2400cc28282ab6dd3c917d45bfa662f (diff) | |
[unittests] Preserve LD_LIBRARY_PATH in crash recovery test
We need to preserve the LD_LIBRARY_PATH environment variable when
spawning a child process (certain setups rely on non-standard paths
for e.g. libstdc++). In order to achieve this, set
LLVM_CRC_UNIXCRCRETURNCODE in the parent process instead of creating
the child's environment from scratch.
Reviewed By: aganea
Differential Revision: https://reviews.llvm.org/D88308
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
