[Lldb-commits] [PATCH] D74759: Treat RangeDataVector as an augmented BST
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Feb 26 07:13:44 PST 2020
labath added a comment.
Thanks for adding the tests. They look good. Could you split them off into a separate patch? I believe @teemperor wanted (and I do agree it's a good idea) to check them in first in order to demonstrate that this patch does not change the behavior (or to make it what exactly changes).
================
Comment at: lldb/unittests/Utility/RangeMapTest.cpp:22
+const std::vector<uint32_t> FindEntryIndexes(uint32_t address,
+ RangeDataVectorT map) {
----------------
returning a const value from a function is fairly useless. All it does is make the caller jump through some hoops if he really wants to modify it.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74759/new/
https://reviews.llvm.org/D74759
More information about the lldb-commits
mailing list