[Lldb-commits] [PATCH] D65677: [VirtualFileSystem] Support encoding a current working directory in a VFS mapping.
Jonas Devlieghere via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Aug 2 14:29:43 PDT 2019
JDevlieghere created this revision.
JDevlieghere added reviewers: bkramer, bruno, vsapsai, sammccall.
Herald added subscribers: lldb-commits, dexonsmith, hiraditya.
Herald added projects: LLDB, LLVM.
For reproducers it is useful to encode the notion of the current working directory in the VFS mapping. This enables us to handle relative files transparently, as long as the current working directory doesn't change over time.
This change is motivated by a current bug in LLDB's reproducers. When a relative path to a binary is passed to the debugger, we fail to resolve it during reproducer replay, because the resolved (absolute) path doesn't match any entry in the VFS.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5696 bytes
Desc: not available
More information about the lldb-commits