[Reproducer] Set the working directory in the VFS
authorJonas Devlieghere <jonas@devlieghere.com>
Thu, 17 Oct 2019 00:24:37 +0000 (00:24 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Thu, 17 Oct 2019 00:24:37 +0000 (00:24 +0000)
commitf80f15e38a21fb6a85d24853bdf2b8a6f1068571
treefa37f54eec4ce018ade159d232141f74a0149720
parentf567b008804a019e12a050ada8c46ca7a6bf2720
[Reproducer] Set the working directory in the VFS

Now that the VFS knows how to deal with virtual working directories, we
can set the current working directory to the one we recorded during
reproducer capture. This ensures that relative paths are resolved
correctly during replay.

llvm-svn: 375064
lldb/source/Initialization/SystemInitializerCommon.cpp
lldb/test/Shell/Reproducer/TestWorkingDir.test