aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/BinaryFormat
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2021-03-24 23:58:54 +0200
committerMartin Storsjö <martin@martin.st>2021-03-25 09:45:27 +0200
commita88556733a4dced22416bd3f45255128b9eb4f49 (patch)
treeb024bcd416928908df2bb1c6903bf980772b8930 /llvm/lib/BinaryFormat
parent32f6a15dfd5221d5fb628f74ecfe72302af460f4 (diff)
downloadllvm-a88556733a4dced22416bd3f45255128b9eb4f49.zip
llvm-a88556733a4dced22416bd3f45255128b9eb4f49.tar.gz
llvm-a88556733a4dced22416bd3f45255128b9eb4f49.tar.bz2
[LLD] Fix probing a MSYS based 'tar' in a Windows Container
Don't run the 'tar' tool in a cleared environment with only the LANG variable set, just set LANG on top of the existing environment. If the 'tar' tool is an MSYS based tool, running it in a Windows Container hangs if all environment variables are cleared - in particular, the USERPROFILE variable needs to be kept intact. This is the same issue fixed as was fixed in other places in 9de63b2e051cb3e79645cc20b83b4d33d132cba0, but contrary to running the actual tests, running with an as-cleared-as-possible environment here is less important. Differential Revision: https://reviews.llvm.org/D99304
Diffstat (limited to 'llvm/lib/BinaryFormat')
0 files changed, 0 insertions, 0 deletions