[PATCH] D32284: [DWARF] - Refactoring: localize handling of relocations in a single place.
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 20 03:08:04 PDT 2017
grimar created this revision.
Herald added a subscriber: aprantl.
This is splitted from https://reviews.llvm.org/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.
https://reviews.llvm.org/D32284
Files:
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32284.95915.patch
Type: text/x-patch
Size: 7473 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170420/61814f09/attachment.bin>
More information about the llvm-commits
mailing list