[Reproducer] Add reproducer dump command.
authorJonas Devlieghere <jonas@devlieghere.com>
Fri, 13 Sep 2019 23:27:31 +0000 (23:27 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Fri, 13 Sep 2019 23:27:31 +0000 (23:27 +0000)
commit97fc8eb4382e5cb0af67d82bc108620f32746326
treedab5b24436466b0932c77c7023c885b6f1cc9889
parentff5225bfb634369e907c889e16cbee36b260362a
[Reproducer] Add reproducer dump command.

This adds a reproducer dump commands which makes it possible to inspect
a reproducer from inside LLDB. Currently it supports the Files, Commands
and Version providers. I'm planning to add support for the GDB Remote
provider in a follow-up patch.

Differential revision: https://reviews.llvm.org/D67474

llvm-svn: 371909
lldb/lit/Reproducer/Inputs/FileCapture.in
lldb/lit/Reproducer/TestDump.test [new file with mode: 0644]
lldb/source/Commands/CommandObjectReproducer.cpp
lldb/source/Commands/Options.td
llvm/include/llvm/Support/VirtualFileSystem.h
llvm/lib/Support/VirtualFileSystem.cpp