[all-commits] [llvm/llvm-project] b807a2: [lldb] Merge RangeArray and RangeVector

Pavel Labath via All-commits all-commits at lists.llvm.org
Tue Feb 18 06:24:04 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b807a28787638f36a907f6f3ee832b840d1be08c
      https://github.com/llvm/llvm-project/commit/b807a28787638f36a907f6f3ee832b840d1be08c
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2020-02-18 (Tue, 18 Feb 2020)

  Changed paths:
    M lldb/include/lldb/Core/dwarf.h
    M lldb/include/lldb/Symbol/Block.h
    M lldb/include/lldb/Symbol/LineTable.h
    M lldb/include/lldb/Target/Memory.h
    M lldb/include/lldb/Utility/RangeMap.h
    M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h
    M lldb/source/Target/Memory.cpp

  Log Message:
  -----------
  [lldb] Merge RangeArray and RangeVector

The two classes are equivalent, except:
- the former uses a llvm::SmallVector (with a configurable size), while
  the latter uses std::vector.
- the former has a typo in one of the functions name

This patch just leaves one class, using llvm::SmallVector, and defaults
the small size to zero. This is the same thing we did with the
RangeDataVector class in D56170.




More information about the All-commits mailing list