David Spickett 29e556fc2b [lldb] Change implementation of memory read --show-tags option
This does 2 things:
* Moves it after the short options. Which makes sense given it's
  a niche, default off option.
  (if 2 files for one option seems a bit much, I am going to reuse
  them for "memory find" later)
* Fixes the use of repeated commands. For example:
    memory read buf --show-tags
    <shows tags>
    memory read
    <shows tags>

Added tests for the repetition and updated existing help tests.

Reviewed By: omjavaid

Differential Revision: https://reviews.llvm.org/D125089
2022-05-18 16:49:09 +01:00

72 lines
1.7 KiB
CMake

lldb_tablegen(InterpreterProperties.inc -gen-lldb-property-defs
SOURCE InterpreterProperties.td
TARGET LLDBInterpreterPropertiesGen)
lldb_tablegen(InterpreterPropertiesEnum.inc -gen-lldb-property-enum-defs
SOURCE InterpreterProperties.td
TARGET LLDBInterpreterPropertiesEnumGen)
add_lldb_library(lldbInterpreter
CommandAlias.cpp
CommandHistory.cpp
CommandInterpreter.cpp
CommandObject.cpp
CommandOptionValidators.cpp
CommandReturnObject.cpp
OptionArgParser.cpp
OptionGroupArchitecture.cpp
OptionGroupBoolean.cpp
OptionGroupFile.cpp
OptionGroupFormat.cpp
OptionGroupMemoryTag.cpp
OptionGroupPythonClassWithDict.cpp
OptionGroupOutputFile.cpp
OptionGroupPlatform.cpp
OptionGroupString.cpp
OptionGroupUInt64.cpp
OptionGroupUUID.cpp
OptionGroupValueObjectDisplay.cpp
OptionValue.cpp
OptionValueArch.cpp
OptionValueArgs.cpp
OptionValueArray.cpp
OptionValueBoolean.cpp
OptionValueChar.cpp
OptionValueDictionary.cpp
OptionValueEnumeration.cpp
OptionValueFileColonLine.cpp
OptionValueFileSpec.cpp
OptionValueFileSpecList.cpp
OptionValueFormat.cpp
OptionValueFormatEntity.cpp
OptionValueLanguage.cpp
OptionValuePathMappings.cpp
OptionValueProperties.cpp
OptionValueRegex.cpp
OptionValueSInt64.cpp
OptionValueString.cpp
OptionValueUInt64.cpp
OptionValueUUID.cpp
OptionGroupVariable.cpp
OptionGroupWatchpoint.cpp
Options.cpp
Property.cpp
ScriptInterpreter.cpp
LINK_LIBS
lldbCommands
lldbCore
lldbDataFormatters
lldbHost
lldbTarget
lldbUtility
LINK_COMPONENTS
Support
)
add_dependencies(lldbInterpreter
LLDBInterpreterPropertiesGen
LLDBInterpreterPropertiesEnumGen)