[Lldb-commits] [PATCH] D63467: [Reproducers] Make reproducer relocatable
Jonas Devlieghere via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Jun 17 18:47:11 PDT 2019
JDevlieghere created this revision.
JDevlieghere added reviewers: labath, aprantl, bruno.
Herald added a subscriber: dexonsmith.
Herald added a project: LLDB.
Before this patch, reproducers weren't relocatable. The reproducer contained hard coded paths in the VFS mapping, as well in the yaml file listing the different input files for the command interpreter. This patch changes that:
- Use relative paths for the `DataCollector`.
- Use an overlay prefix for the `FileCollector`.
Repository:
rLLDB LLDB
https://reviews.llvm.org/D63467
Files:
lldb/include/lldb/Utility/FileCollector.h
lldb/include/lldb/Utility/Reproducer.h
lldb/lit/Reproducer/TestReuseDirectory.test
lldb/source/API/SBDebugger.cpp
lldb/source/Host/common/FileSystem.cpp
lldb/source/Utility/FileCollector.cpp
lldb/unittests/Utility/FileCollectorTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63467.205230.patch
Type: text/x-patch
Size: 6002 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190618/4b5ae080/attachment.bin>
More information about the lldb-commits
mailing list