[PATCH] D29035: [Support] Add sys::fs::set_current_path() (aka chdir)

Pavel Labath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 24 02:30:29 PST 2017


labath added a comment.

Thanks for the review. Main two usages for chdir are:

- launching the debugged process in a given directory
- we have a remote stub, which (besides doing remote debugging) can execute user-supplied shell commands on the target device. These commands need a CWD.

I'll create a follow-up clang patch after this.


https://reviews.llvm.org/D29035





More information about the llvm-commits mailing list