This adds a cross-platform way of setting the current working directory
analogous to the existing current_path() function used for retrieving
it. The function will be used in lldb.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 3190 Build 3190: arc lint + arc unit
Event Timeline
Comment Actions
We have a chdir in lib/Basic/VirtualFileSystem.cpp that probably can be moved to using this API in a followup patch.
Comment Actions
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.