[Reproducer] Namespace the reproducer dump options.

Make it clear that the current reproducer options are for dumping.
This commit is contained in:
Jonas Devlieghere 2019-11-19 16:18:19 -08:00
parent c4b41e8d1d
commit 36eea5c31f
2 changed files with 3 additions and 3 deletions

View File

@ -68,7 +68,7 @@ static constexpr OptionEnumValues ReproducerProviderType() {
return OptionEnumValues(g_reproducer_provider_type);
}
#define LLDB_OPTIONS_reproducer
#define LLDB_OPTIONS_reproducer_dump
#include "CommandOptions.inc"
class CommandObjectReproducerGenerate : public CommandObjectParsed {
@ -208,7 +208,7 @@ public:
}
ArrayRef<OptionDefinition> GetDefinitions() override {
return makeArrayRef(g_reproducer_options);
return makeArrayRef(g_reproducer_dump_options);
}
FileSpec file;

View File

@ -429,7 +429,7 @@ let Command = "log" in {
Desc<"Prepend the names of files and function that generate the logs.">;
}
let Command = "reproducer" in {
let Command = "reproducer dump" in {
def reproducer_provider : Option<"provider", "p">, Group<1>,
EnumArg<"None", "ReproducerProviderType()">,
Required, Desc<"The reproducer provider to dump.">;