llvm-project/lldb/source
Muhammad Omair Javaid 6c45532908 Remove code duplication from RegisterContextPOSIX_*
Summary:
This patch aims to remove multiple copies of GetByteOrder() and ConvertRegisterKindToRegisterNumber used in various versions of RegisterContextPOSIX_*.

Both register implementations are move to RegisterContext class which is parent of RegisterContextPOSIX_* classes.

Built and tested on x86_64-linux-gnu, aarch64-linux-gnu and arm-linux-gnueabihf targets.

Reviewers: labath

Reviewed By: labath

Subscribers: wuzish, nemanjai, kristof.beyls, kbarton, atanasyan, lldb-commits

Differential Revision: https://reviews.llvm.org/D80104
2020-06-18 01:02:46 +05:00
..
API [lldb/Test] Assert that no targets or modules remain after a test completes. 2020-06-12 15:17:44 -07:00
Breakpoint [lldb/Interpreter] Support color in CommandReturnObject 2020-06-09 10:45:45 -07:00
Commands [lldb] Remove redundant access specifiers (NFC) 2020-06-15 21:34:13 -07:00
Core [Debugger] Use FileSystem instead of calling openFileForWrite directly. 2020-06-10 18:13:32 -07:00
DataFormatters [lldb] Small improvements in ValueObjectPrinter::PrintDecl (NFC) 2020-06-12 21:05:05 -07:00
Expression [lldb/Interpreter] Support color in CommandReturnObject 2020-06-09 10:45:45 -07:00
Host [lldb] Rename Master/Slave to Primary/Secondary (NFC) 2020-06-15 15:38:28 -07:00
Initialization [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
Interpreter [lldb/Python] Fix the infinitely looping Python prompt bug 2020-06-16 11:05:19 -07:00
Plugins Remove code duplication from RegisterContextPOSIX_* 2020-06-18 01:02:46 +05:00
Symbol [lldb/DWARF] Fix PC value for artificial tail call frames for the "GNU" case 2020-06-08 14:44:36 +02:00
Target Remove code duplication from RegisterContextPOSIX_* 2020-06-18 01:02:46 +05:00
Utility [lldb] Remove Scalar operator= overloads 2020-06-11 13:55:02 +02:00
CMakeLists.txt Make LLVM_APPEND_VC_REV=OFF affect clang, lld, and lldb as well. 2020-01-16 19:04:08 -05:00
lldb.cpp [lldb] Fix version string when using LLDB_REVISION but not LLDB_REPOSITORY 2020-02-20 10:07:50 -08:00