[DWARF] - Refactoring of DWARFContextInMemory implementation.
authorGeorge Rimar <grimar@accesssoftek.com>
Wed, 12 Apr 2017 08:59:15 +0000 (08:59 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Wed, 12 Apr 2017 08:59:15 +0000 (08:59 +0000)
commit702dac6d35f54c0e093e901a9b420b466ef315cd
treeaf81765b91728d8f143a77eeca2dbb60ed877837
parent6832fae7da205502966a8d165ff3ce9c8bfcfd32
[DWARF] - Refactoring of DWARFContextInMemory implementation.

This change is basically relative to D31136, where I initially wanted to
implement some relocations handling optimization which shows it can give
significant boost. Though even without any caching algorithm looks
code can have some cleanup at first.

Refactoring separates out code for taking symbol address, used in relocations
computation.

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

llvm-svn: 300039
llvm/lib/DebugInfo/DWARF/DWARFContext.cpp