llvm-project/lldb/source/DataFormatters
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
..
CMakeLists.txt Let Language plugins vend a default DeclPrintingHelper in case a custom one is not specified for the specific invocation 2015-10-19 22:04:25 +00:00
CXXFunctionPointer.cpp Rationalization of includes in the data formatters code 2015-10-20 04:50:09 +00:00
DataVisualization.cpp Reapply r253423 and r253424 (which cleanup the data formatters iteration model, as well as the type X list commands), along with a change by Zachary Turner to bypass a MSVC bug with SFINAE 2015-11-18 19:42:44 +00:00
DumpValueObjectOptions.cpp Add a --element-count option to the expression command 2016-04-25 00:52:47 +00:00
FormatCache.cpp Fix a typo in FormatCache.cpp such that the cache would potentially return an invalid format in some cases 2016-02-18 19:23:52 +00:00
FormatClasses.cpp Introduce a FormattersMatchData class which contains all the information that data formatters need in one place, and also allows for lazy computation of expensive chunks of information if need be 2015-10-06 01:02:47 +00:00
FormatManager.cpp Fix a bug where language categories would hold on to their caches even after changes 2015-12-15 02:20:48 +00:00
FormattersHelpers.cpp Remove even more of the data formatters that silently run code 2016-04-08 21:24:24 +00:00
LanguageCategory.cpp Fix a bug where language categories would hold on to their caches even after changes 2015-12-15 02:20:48 +00:00
StringPrinter.cpp Fix some compiler warnings with MSVC 2015. 2016-01-13 21:22:00 +00:00
TypeCategory.cpp
TypeCategoryMap.cpp Data formatter support for libc++ std::atomic<T> 2016-02-12 22:18:24 +00:00
TypeFormat.cpp Now that SymbolFileDWARF supports having types in completely separate .pcm file with "-fmodules -gmodules", each SymbolFileDWARF can reference module DWARF info by looking in other DWARF files. Then if you have 1000 .o files that each reference one or more .pcm files in their debug info, a simple Module::FindTypes(...) call can end up searching the same .pcm file over and over and over. Now all internal FindTypes methods in classes (ModuleList, Module, SymbolFile) now take an extra argument: 2016-02-10 21:28:13 +00:00
TypeSummary.cpp Fix TestDataFormatterScript for Linux. 2016-01-29 03:48:08 +00:00
TypeSynthetic.cpp [SBValue] Add a method GetNumChildren(uint32_t max) 2015-10-21 19:28:08 +00:00
TypeValidator.cpp
ValueObjectPrinter.cpp Add a --element-count option to the expression command 2016-04-25 00:52:47 +00:00
VectorType.cpp Fix Clang-tidy modernize-use-override warnings in some files in source; other minor fixes. 2015-10-26 17:00:13 +00:00