[Lldb-commits] [PATCH] D59238: [Reproducers] Support capturing a reproducer without an explicit path.

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 11 18:26:16 PDT 2019


JDevlieghere created this revision.
JDevlieghere added reviewers: aprantl, davide, labath.
Herald added a subscriber: teemperor.
Herald added a project: LLDB.

Tablegen doesn't support options that serve both as flags and as arguments taking a value. I noticed this when doing the tablegen rewrite, but forgot that that affected my reproducer flags. This patch adds another flag, namely `--capture-path` that allows the user to explicitly specify a path for the reproducer. In reality I expect this to be mostly used for testing, but it could be useful regardless.


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D59238

Files:
  lldb/include/lldb/API/SBReproducer.h
  lldb/lit/Reproducer/Functionalities/TestDataFormatter.test
  lldb/lit/Reproducer/Functionalities/TestImageList.test
  lldb/lit/Reproducer/Functionalities/TestStepping.test
  lldb/lit/Reproducer/Modules/TestModuleCXX.test
  lldb/lit/Reproducer/TestDriverOptions.test
  lldb/lit/Reproducer/TestFileRepro.test
  lldb/lit/Reproducer/TestGDBRemoteRepro.test
  lldb/source/API/SBReproducer.cpp
  lldb/tools/driver/Driver.cpp
  lldb/tools/driver/Options.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59238.190194.patch
Type: text/x-patch
Size: 10003 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190312/41561804/attachment-0001.bin>


More information about the lldb-commits mailing list