[DebugInfo] Rename getOffset() to getContribution(). NFC.
authorIgor Kudrin <ikudrin@accesssoftek.com>
Thu, 2 Apr 2020 12:39:56 +0000 (19:39 +0700)
committerIgor Kudrin <ikudrin@accesssoftek.com>
Fri, 3 Apr 2020 07:15:53 +0000 (14:15 +0700)
commitf13ce15d441095493030404ab31eddb0fc08ca42
treef8a2db63ee7c4ae389080410d6654be7274f6302
parent69c8fb1c65fe54e2a15ff7339cdebb70ee290bd1
[DebugInfo] Rename getOffset() to getContribution(). NFC.

The old name was a bit misleading because the functions actually return
contributions to the corresponding sections.

Differential revision: https://reviews.llvm.org/D77302
lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp
llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
llvm/include/llvm/DebugInfo/DWARF/DWARFUnitIndex.h
llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
llvm/lib/DebugInfo/DWARF/DWARFUnitIndex.cpp
llvm/tools/llvm-dwp/llvm-dwp.cpp