diff options
author | Ilya Biryukov <ibiryukov@google.com> | 2018-08-29 16:35:31 +0000 |
---|---|---|
committer | Ilya Biryukov <ibiryukov@google.com> | 2018-08-29 16:35:31 +0000 |
commit | 2dbbd910dd2b1fde9e6960882c9f91c37351c81c (patch) | |
tree | 44a54a791f610ac9d07bd4d92e466658161ee882 /lldb/packages/Python/lldbsuite/test/python_api/process | |
parent | 9250c92d0e28b0c475556a73c9fc43518891c659 (diff) | |
download | bcm5719-llvm-2dbbd910dd2b1fde9e6960882c9f91c37351c81c.tar.gz bcm5719-llvm-2dbbd910dd2b1fde9e6960882c9f91c37351c81c.zip |
[Tooling] Do not restore working dir in ClangTool
Summary:
Resolve all relative paths before running the tool instead.
This fixes the usage of ClangTool in AllTUsExecutor. The executor will
try running multiple ClangTool instances in parallel with compile
commands that usually have the same working directory.
Changing working directory is a global operation, so we end up
changing working directory in the middle of running other actions,
which leads to spurious compile errors.
Reviewers: ioeric, sammccall
Reviewed By: ioeric
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D51407
llvm-svn: 340937
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process')
0 files changed, 0 insertions, 0 deletions