llvm-project/lldb/source/Commands
Pavel Labath e03334cf6a Move dumping code out of RegisterValue class
Summary:
The dump function was the only part of this class which depended on
high-level functionality. This was due to the DumpDataExtractor
function, which uses info from a running target to control dump format
(although, RegisterValue doesn't really use the high-level part of
DumpDataExtractor).

This patch follows the same approach done for the DataExtractor class,
and extracts the dumping code into a separate function/file. This file
can stay in the higher level code, while the RegisterValue class and
anything that does not depend in dumping can stay go to lower layers.

The XCode project will need to be updated after this patch.

Reviewers: zturner, jingham, clayborg

Subscribers: lldb-commits, mgorny

Differential Revision: https://reviews.llvm.org/D48351

llvm-svn: 337832
2018-07-24 15:48:13 +00:00
..
CMakeLists.txt [Commands] Add a (currently empty) `stats` command. 2018-03-23 21:55:48 +00:00
CommandCompletions.cpp Replaced more boilerplate code with CompletionRequest (NFC) 2018-07-13 18:28:14 +00:00
CommandObjectApropos.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
CommandObjectApropos.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CommandObjectBreakpoint.cpp BreakpointIDList: Use llvm::ArrayRef instead of pointer+length pair 2018-06-20 08:12:50 +00:00
CommandObjectBreakpoint.h Make breakpoint names real entities. 2017-09-14 20:22:49 +00:00
CommandObjectBreakpointCommand.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
CommandObjectBreakpointCommand.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CommandObjectBugreport.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
CommandObjectBugreport.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CommandObjectCommands.cpp Replaced more boilerplate code with CompletionRequest (NFC) 2018-07-13 18:28:14 +00:00
CommandObjectCommands.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CommandObjectDisassemble.cpp Remove duplicated check and shared_ptr copying. 2018-06-21 19:19:57 +00:00
CommandObjectDisassemble.h Move ArchSpec to the Utility module 2017-11-13 16:16:33 +00:00
CommandObjectExpression.cpp Get rid of the C-string parameter in DoExecute 2018-07-12 22:28:52 +00:00
CommandObjectExpression.h Get rid of the C-string parameter in DoExecute 2018-07-12 22:28:52 +00:00
CommandObjectFrame.cpp Replaced more boilerplate code with CompletionRequest (NFC) 2018-07-13 18:28:14 +00:00
CommandObjectFrame.h Move ArchSpec to the Utility module 2017-11-13 16:16:33 +00:00
CommandObjectGUI.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CommandObjectGUI.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CommandObjectHelp.cpp Refactoring for for the internal command line completion API (NFC) 2018-07-02 21:29:56 +00:00
CommandObjectHelp.h Refactoring for for the internal command line completion API (NFC) 2018-07-02 21:29:56 +00:00
CommandObjectLanguage.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CommandObjectLanguage.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CommandObjectLog.cpp [FileSpec] Make style argument mandatory for SetFile. NFC 2018-06-13 22:08:14 +00:00
CommandObjectLog.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CommandObjectMemory.cpp [FileSpec] Make style argument mandatory for SetFile. NFC 2018-06-13 22:08:14 +00:00
CommandObjectMemory.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CommandObjectMultiword.cpp Refactoring for for the internal command line completion API (NFC) 2018-07-02 21:29:56 +00:00
CommandObjectPlatform.cpp Replaced more boilerplate code with CompletionRequest (NFC) 2018-07-13 18:28:14 +00:00
CommandObjectPlatform.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CommandObjectPlugin.cpp Replaced more boilerplate code with CompletionRequest (NFC) 2018-07-13 18:28:14 +00:00
CommandObjectPlugin.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CommandObjectProcess.cpp Replaced more boilerplate code with CompletionRequest (NFC) 2018-07-13 18:28:14 +00:00
CommandObjectProcess.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CommandObjectQuit.cpp Allow specifying an exit code for the 'quit' command 2018-07-11 17:18:01 +00:00
CommandObjectQuit.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CommandObjectRegister.cpp Move dumping code out of RegisterValue class 2018-07-24 15:48:13 +00:00
CommandObjectRegister.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CommandObjectSettings.cpp Replaced more boilerplate code with CompletionRequest (NFC) 2018-07-13 18:28:14 +00:00
CommandObjectSettings.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CommandObjectSource.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
CommandObjectSource.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CommandObjectStats.cpp [Statistics] Move GetStatDescription to an header file. 2018-04-16 18:25:57 +00:00
CommandObjectStats.h [Command] Implement `statistics` command. 2018-04-13 18:02:39 +00:00
CommandObjectTarget.cpp Replaced more boilerplate code with CompletionRequest (NFC) 2018-07-13 18:28:14 +00:00
CommandObjectTarget.h Move ArchSpec to the Utility module 2017-11-13 16:16:33 +00:00
CommandObjectThread.cpp Get rid of the C-string parameter in DoExecute 2018-07-12 22:28:52 +00:00
CommandObjectThread.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CommandObjectType.cpp Get rid of the C-string parameter in DoExecute 2018-07-12 22:28:52 +00:00
CommandObjectType.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CommandObjectVersion.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CommandObjectVersion.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CommandObjectWatchpoint.cpp Get rid of the C-string parameter in DoExecute 2018-07-12 22:28:52 +00:00
CommandObjectWatchpoint.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CommandObjectWatchpointCommand.cpp Typo fixes. 2018-05-29 09:10:46 +00:00
CommandObjectWatchpointCommand.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00