summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorMikhail Maltsev <mikhail.maltsev@arm.com>2020-09-28 17:46:03 +0100
committerMikhail Maltsev <mikhail.maltsev@arm.com>2020-09-28 17:46:03 +0100
commit07b7a24e3fe86fe64ba5a56629cb290f3bd3b86d (patch)
treedf314cf3f822a20b11bbcc31375a0f186815e6be /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent06bc685fa2400cc28282ab6dd3c917d45bfa662f (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