[all-commits] [llvm/llvm-project] 1462f5: [lldb][NFC] Move Address and AddressRange function...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Thu Dec 5 05:41:52 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1462f5a4c138bb20f38a579a29d12ab4e5fb6191
      https://github.com/llvm/llvm-project/commit/1462f5a4c138bb20f38a579a29d12ab4e5fb6191
  Author: Raphael Isemann <teemperor at gmail.com>
  Date:   2019-12-05 (Thu, 05 Dec 2019)

  Changed paths:
    M lldb/include/lldb/Utility/Stream.h
    M lldb/source/Core/Address.cpp
    M lldb/source/Core/AddressRange.cpp
    M lldb/source/Core/DumpDataExtractor.cpp
    M lldb/source/Core/FormatEntity.cpp
    M lldb/source/Expression/DWARFExpression.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugRanges.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp
    M lldb/source/Symbol/Block.cpp
    M lldb/source/Target/ThreadPlanRunToAddress.cpp
    M lldb/source/Target/ThreadPlanStepInRange.cpp
    M lldb/source/Target/ThreadPlanStepInstruction.cpp
    M lldb/source/Target/ThreadPlanStepOverRange.cpp
    M lldb/source/Target/ThreadPlanStepThrough.cpp
    M lldb/source/Utility/Stream.cpp
    M lldb/source/Utility/VMRange.cpp
    M lldb/unittests/Utility/StreamTest.cpp

  Log Message:
  -----------
  [lldb][NFC] Move Address and AddressRange functions out of Stream and let them take raw_ostream

Summary:
Yet another step on the long road towards getting rid of lldb's Stream class.

We probably should just make this some kind of member of Address/AddressRange, but it seems quite often we just push
in random integers in there and this is just about getting rid of Stream and not improving arbitrary APIs.

I had to rename another `DumpAddress` function in FormatEntity that is dumping the content of an address to make Clang happy.

Reviewers: labath

Reviewed By: labath

Subscribers: JDevlieghere, lldb-commits

Tags: #lldb

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




More information about the All-commits mailing list