aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-readobj/llvm-readobj.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2015-07-20 19:42:08 +0000
committerReid Kleckner <reid@kleckner.net>2015-07-20 19:42:08 +0000
commitedd9b6ef36f8f9f480eb3e72d6eb9794ef0ef656 (patch)
treeba99779b6d529446603cd44aeab43a306f6a26b4 /llvm/tools/llvm-readobj/llvm-readobj.cpp
parent1aa4567712ba897ce8aaf3573aa85f40fc375c44 (diff)
downloadllvm-edd9b6ef36f8f9f480eb3e72d6eb9794ef0ef656.zip
llvm-edd9b6ef36f8f9f480eb3e72d6eb9794ef0ef656.tar.gz
llvm-edd9b6ef36f8f9f480eb3e72d6eb9794ef0ef656.tar.bz2
[lit] Implement 'env' in the internal shell
The MSys 2 version of 'env' cannot be used to set 'TZ' in the environment due to some portability hacks in the process spawning compatibility layer[1]. This affects test/Object/archive-toc.test, which tries to set TZ in the environment. Other than that, this saves a subprocess invocation of a small unix utility, which is makes the tests faster. The internal shell does not support shell variable expansion, so this idiom in the ASan tests isn't supported yet: RUN: env ASAN_OPTIONS=$ASAN_OPTIONS:opt=1 ... [1] https://github.com/Alexpux/MSYS2-packages/issues/294 Differential Revision: http://reviews.llvm.org/D11350 llvm-svn: 242696
Diffstat (limited to 'llvm/tools/llvm-readobj/llvm-readobj.cpp')
0 files changed, 0 insertions, 0 deletions