[DWARF] Refactor RelocVisitor and fix computation of SHT_RELA-typed relocation entries
authorFangrui Song <maskray@google.com>
Fri, 22 Mar 2019 02:43:17 +0000 (02:43 +0000)
committerFangrui Song <maskray@google.com>
Fri, 22 Mar 2019 02:43:17 +0000 (02:43 +0000)
commitdc6c0cf94dfb6fb1ea05794ae0a09bf575c667fd
tree8846ffe17f705f9af35ce87adaced4d0e7d12798
parent4597dce48319437a80db95153f65e289832f979b
[DWARF] Refactor RelocVisitor and fix computation of SHT_RELA-typed relocation entries

Summary: This is the lld-side change of D57939

Reviewers: echristo, dblaikie, ruiu, espindola

Reviewed By: echristo, ruiu

Subscribers: jdoerfert, emaste, arichardson, llvm-commits

Tags: #llvm

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

llvm-svn: 356730
lld/ELF/DWARF.cpp