forked from OSchip/llvm-project
[Reproducer] Namespace the reproducer dump options.
Make it clear that the current reproducer options are for dumping.
This commit is contained in:
parent
c4b41e8d1d
commit
36eea5c31f
|
@ -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;
|
||||
|
|
|
@ -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.">;
|
||||
|
|
Loading…
Reference in New Issue