llvm-project/lldb/source/Interpreter
Enrico Granata 520a422bd8 Add a --element-count option to the expression command
This option evaluates an expression and, if the result is of pointer type, treats it as if it was an array of that many elements and displays such elements

This has a couple subtle points but is mostly as straightforward as it sounds

Add a parray N <expr> alias for this new mode

Also, extend the --object-description mode to do the moral equivalent of the above but display each element in --object-description mode
Add a poarray N <expr> alias for this

llvm-svn: 267372
2016-04-25 00:52:47 +00:00
..
Args.cpp Improve the way LLDB escapes arguments before passing them to the shell 2016-04-04 22:46:38 +00:00
CMakeLists.txt Add CommandAlias.cpp to CMakeLists 2016-03-08 21:29:49 +00:00
CommandAlias.cpp Fix an issue with nested aliases where the help system wouldn't correctly track the fact that an alias is an alias to a dash-dash alias 2016-03-25 21:59:06 +00:00
CommandHistory.cpp Addresses an unsigned underflow situation that can occur when dumping an empty command history. 2016-01-06 00:33:07 +00:00
CommandInterpreter.cpp Add a --element-count option to the expression command 2016-04-25 00:52:47 +00:00
CommandObject.cpp Change 'apropos' such that it doesn't look into the "long help/syntax" strings for commands 2016-03-23 01:21:55 +00:00
CommandObjectRegexCommand.cpp Don't #include "lldb-python.h" from anywhere. 2015-05-29 17:41:47 +00:00
CommandObjectScript.cpp Don't #include "lldb-python.h" from anywhere. 2015-05-29 17:41:47 +00:00
CommandObjectScript.h Fix Clang-tidy modernize-use-override warnings in some files in source; other minor fixes. 2015-10-26 17:00:13 +00:00
CommandOptionValidators.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
CommandReturnObject.cpp Fix a glitch in the Driver's batch mode when used with "attach". 2016-01-08 00:20:47 +00:00
OptionGroupArchitecture.cpp Revert "Fix broken tests due to new error output." 2014-07-09 16:31:49 +00:00
OptionGroupBoolean.cpp Refactor OptionValue::SetValueFromCString to use llvm::StringRef 2015-02-20 11:14:59 +00:00
OptionGroupFile.cpp Refactor OptionValue::SetValueFromCString to use llvm::StringRef 2015-02-20 11:14:59 +00:00
OptionGroupFormat.cpp Don't #include "lldb-python.h" from anywhere. 2015-05-29 17:41:47 +00:00
OptionGroupOutputFile.cpp Fix a variety of typos. 2015-06-18 05:27:05 +00:00
OptionGroupPlatform.cpp Don't #include "lldb-python.h" from anywhere. 2015-05-29 17:41:47 +00:00
OptionGroupString.cpp Refactor OptionValue::SetValueFromCString to use llvm::StringRef 2015-02-20 11:14:59 +00:00
OptionGroupUInt64.cpp Refactor OptionValue::SetValueFromCString to use llvm::StringRef 2015-02-20 11:14:59 +00:00
OptionGroupUUID.cpp Refactor OptionValue::SetValueFromCString to use llvm::StringRef 2015-02-20 11:14:59 +00:00
OptionGroupValueObjectDisplay.cpp Add a --element-count option to the expression command 2016-04-25 00:52:47 +00:00
OptionGroupVariable.cpp Don't #include "lldb-python.h" from anywhere. 2015-05-29 17:41:47 +00:00
OptionGroupWatchpoint.cpp Changed '-x'/'-xsize' to '-s'/'-size' when specifying 2015-03-26 00:42:27 +00:00
OptionValue.cpp Add an OptionValueLanguage class 2015-02-20 19:46:30 +00:00
OptionValueArch.cpp Don't #include "lldb-python.h" from anywhere. 2015-05-29 17:41:47 +00:00
OptionValueArgs.cpp
OptionValueArray.cpp Add -Wimplicit-fallthrough command line option to clang in 2016-02-16 04:14:33 +00:00
OptionValueBoolean.cpp Refactor OptionValue::SetValueFromCString to use llvm::StringRef 2015-02-20 11:14:59 +00:00
OptionValueChar.cpp Refactor OptionValue::SetValueFromCString to use llvm::StringRef 2015-02-20 11:14:59 +00:00
OptionValueDictionary.cpp Fix a variety of typos. 2015-06-18 05:27:05 +00:00
OptionValueEnumeration.cpp Refactor OptionValue::SetValueFromCString to use llvm::StringRef 2015-02-20 11:14:59 +00:00
OptionValueFileSpec.cpp Don't #include "lldb-python.h" from anywhere. 2015-05-29 17:41:47 +00:00
OptionValueFileSpecLIst.cpp Add -Wimplicit-fallthrough command line option to clang in 2016-02-16 04:14:33 +00:00
OptionValueFormat.cpp Don't #include "lldb-python.h" from anywhere. 2015-05-29 17:41:47 +00:00
OptionValueFormatEntity.cpp Fixed "format-string" based settings so they can have quotes on them without leaving the quotes in the format string: 2015-06-03 02:02:48 +00:00
OptionValueLanguage.cpp Added support for enumerating the languages that actually support TypeSystems 2015-10-08 23:07:53 +00:00
OptionValuePathMappings.cpp Add -Wimplicit-fallthrough command line option to clang in 2016-02-16 04:14:33 +00:00
OptionValueProperties.cpp Add support for specifying a language to use when parsing breakpoints. 2015-07-21 22:05:07 +00:00
OptionValueRegex.cpp Refactor OptionValue::SetValueFromCString to use llvm::StringRef 2015-02-20 11:14:59 +00:00
OptionValueSInt64.cpp Refactor OptionValue::SetValueFromCString to use llvm::StringRef 2015-02-20 11:14:59 +00:00
OptionValueString.cpp Fix use-after-free in OptionValueString. 2015-05-22 19:33:54 +00:00
OptionValueUInt64.cpp Refactor OptionValue::SetValueFromCString to use llvm::StringRef 2015-02-20 11:14:59 +00:00
OptionValueUUID.cpp Don't #include "lldb-python.h" from anywhere. 2015-05-29 17:41:47 +00:00
Options.cpp This was printing arguments twice in dash-dash aliases; don't do that 2016-03-15 01:17:32 +00:00
Property.cpp Move things from the LanguageRuntime that obviously belong in the new Language plugin instead. 2015-09-02 01:06:46 +00:00
ScriptInterpreter.cpp Don't #include "lldb-python.h" from anywhere. 2015-05-29 17:41:47 +00:00
embedded_interpreter.py Make some more of the LLDB/SWIG/Python glue Python 3 aware. 2015-10-16 17:52:32 +00:00