llvm-project/lldb/unittests/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
..
Inputs Unit test for Symtab::InitNameIndexes 2018-08-02 10:13:18 +00:00
CMakeLists.txt RangeMap.h: merge RangeDataArray and RangeDataVector 2019-01-04 07:14:17 +00:00
MangledTest.cpp [FileSystem] Move path resolution logic out of FileSpec 2018-11-01 21:05:36 +00:00
RangeMapTest.cpp RangeMap.h: merge RangeDataArray and RangeDataVector 2019-01-04 07:14:17 +00:00
RangeTest.cpp Added test for Core/Range class. 2018-08-13 20:43:06 +00:00
RichManglingContextTest.cpp [lldb] Remove an assertion in RichManglingContext::GetBufferRef() hit when debugging a native x86 Windows process 2018-09-28 02:33:51 +00:00
StreamCallbackTest.cpp