llvm-project/lldb/source/Plugins/Process/elf-core
Pavel Labath 0611642f3a RangeMap.h: merge RangeDataArray and RangeDataVector
Summary:
The main difference between the classes was supposed to be the fact that
one is backed by llvm::SmallVector, and the other by std::vector.
However, over the years, they have accumulated various other differences
too.

This essentially removes the std::vector version, as that is pretty much
identical to llvm::SmallVector<T, 0>, and combines their interfaces. It
does not attempt to do a more significant refactoring, even though there
is still a lot of duplication in this file, as it is hard to tell which
quirk of some API is depended on by somebody (and, a previous, more
ambitious attempt at this in D16769 has failed).

I also add some tests, including one which demonstrates one of the
quirks/bugs of the API I have noticed in the process.

Reviewers: clayborg, teemperor, tberghammer

Subscribers: mgorny, JDevlieghere, lldb-commits

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

llvm-svn: 350380
2019-01-04 07:14:17 +00:00
..
CMakeLists.txt Normalize some lldb #include statements. 2018-05-22 22:53:50 +00:00
ProcessElfCore.cpp Simplify ObjectFile::GetArchitecture 2019-01-03 10:37:19 +00:00
ProcessElfCore.h RangeMap.h: merge RangeDataArray and RangeDataVector 2019-01-04 07:14:17 +00:00
RegisterContextPOSIXCore_arm.cpp Move RegisterValue,Scalar,State from Core to Utility 2018-08-07 11:07:21 +00:00
RegisterContextPOSIXCore_arm.h elf-core: Convert remaining register context to use register set maps 2017-11-28 11:10:23 +00:00
RegisterContextPOSIXCore_arm64.cpp Move RegisterValue,Scalar,State from Core to Utility 2018-08-07 11:07:21 +00:00
RegisterContextPOSIXCore_arm64.h elf-core: Convert remaining register context to use register set maps 2017-11-28 11:10:23 +00:00
RegisterContextPOSIXCore_mips64.cpp Move RegisterValue,Scalar,State from Core to Utility 2018-08-07 11:07:21 +00:00
RegisterContextPOSIXCore_mips64.h elf-core: Convert remaining register context to use register set maps 2017-11-28 11:10:23 +00:00
RegisterContextPOSIXCore_powerpc.cpp Move RegisterValue,Scalar,State from Core to Utility 2018-08-07 11:07:21 +00:00
RegisterContextPOSIXCore_powerpc.h elf-core: Convert remaining register context to use register set maps 2017-11-28 11:10:23 +00:00
RegisterContextPOSIXCore_ppc64le.cpp Move RegisterValue,Scalar,State from Core to Utility 2018-08-07 11:07:21 +00:00
RegisterContextPOSIXCore_ppc64le.h elf-core: Convert remaining register context to use register set maps 2017-11-28 11:10:23 +00:00
RegisterContextPOSIXCore_s390x.cpp Move RegisterValue,Scalar,State from Core to Utility 2018-08-07 11:07:21 +00:00
RegisterContextPOSIXCore_s390x.h elf-core: Convert remaining register context to use register set maps 2017-11-28 11:10:23 +00:00
RegisterContextPOSIXCore_x86_64.cpp Move RegisterValue,Scalar,State from Core to Utility 2018-08-07 11:07:21 +00:00
RegisterContextPOSIXCore_x86_64.h elf-core: Convert remaining register context to use register set maps 2017-11-28 11:10:23 +00:00
RegisterUtilities.cpp elf-core: Convert remaining register context to use register set maps 2017-11-28 11:10:23 +00:00
RegisterUtilities.h elf-core: Convert remaining register context to use register set maps 2017-11-28 11:10:23 +00:00
ThreadElfCore.cpp [windows] LLDB shows the wrong values when register read is executed at a frame other than zero 2018-07-10 22:05:33 +00:00
ThreadElfCore.h [windows] LLDB shows the wrong values when register read is executed at a frame other than zero 2018-07-10 22:05:33 +00:00