]> granicus.if.org Git - llvm/commit
[DWARF] - Refactoring: localize handling of relocations in a single place.
authorGeorge Rimar <grimar@accesssoftek.com>
Fri, 21 Apr 2017 09:12:18 +0000 (09:12 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Fri, 21 Apr 2017 09:12:18 +0000 (09:12 +0000)
commit102d78ca396966bcbb988724d7555e02c6d20fff
tree0f7faf2e8eb6cf1d3e2db61bf719a1a8a5bad36d
parent9b72933cb9aae26434a639e9c9665f4b32441a36
[DWARF] - Refactoring: localize handling of relocations in a single place.

This is splitted from D32228,
currently DWARF parsers code has few places that applied relocations values manually.
These places has similar duplicated code. Patch introduces separate method that can be
used to obtain relocated value. That helps to reduce code and simplifies things.

Differential revision: https://reviews.llvm.org/D32284

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300956 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo/DWARF/DWARFContext.h
lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
lib/DebugInfo/DWARF/DWARFContext.cpp
lib/DebugInfo/DWARF/DWARFDebugLine.cpp
lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
lib/DebugInfo/DWARF/DWARFFormValue.cpp