diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-11-19 16:18:19 -0800 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-11-19 16:19:43 -0800 |
commit | 36eea5c31f13c086c951239ff876564c90546efa (patch) | |
tree | 47777feb4de0bdb6f2a603bf241e0d9251a37a25 | |
parent | c4b41e8d1d860e2439c7c0e16bd1d1af3fe2d023 (diff) | |
download | bcm5719-llvm-36eea5c31f13c086c951239ff876564c90546efa.tar.gz bcm5719-llvm-36eea5c31f13c086c951239ff876564c90546efa.zip |
[Reproducer] Namespace the reproducer dump options.
Make it clear that the current reproducer options are for dumping.
-rw-r--r-- | lldb/source/Commands/CommandObjectReproducer.cpp | 4 | ||||
-rw-r--r-- | lldb/source/Commands/Options.td | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Commands/CommandObjectReproducer.cpp b/lldb/source/Commands/CommandObjectReproducer.cpp index 560df25b97c..a22c704ebd0 100644 --- a/lldb/source/Commands/CommandObjectReproducer.cpp +++ b/lldb/source/Commands/CommandObjectReproducer.cpp @@ -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; diff --git a/lldb/source/Commands/Options.td b/lldb/source/Commands/Options.td index fc7f45888bd..501f81470a2 100644 --- a/lldb/source/Commands/Options.td +++ b/lldb/source/Commands/Options.td @@ -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.">; |