[Lldb-commits] [PATCH] D79825: [lldb/Reproducers] Add test-specific API to set the test CWD

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed May 13 02:07:13 PDT 2020


labath accepted this revision.
labath added a comment.
This revision is now accepted and ready to land.

It's definitely a hack, but it seems to be fairly well contained.

As an aside, I've always wondered, how much we really need to switch the cwd. Now that we build tests out-of-tree, I would expect most of the file references to be cwd-independent (`getBuildArtifact`). The only remaining references are probably the ones where we work with source files, which shouldn't be too hard to fix, and also those where we still accidentally create files in the source tree (which this would help eliminate).


Repository:
  rLLDB LLDB

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79825/new/

https://reviews.llvm.org/D79825





More information about the lldb-commits mailing list