RelocationEntry.
No test case yet, as this primarily hits GOT entries, which RuntimeDyldChecker
can't examine yet. I'm actively working on features that will enable us to
test this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213408
91177308-0d34-0410-b5e6-
96231b3b80d8
RelocationValueRef Value(
getRelocationValueRef(ObjImg, RelI, RE, ObjSectionToID, Symbols));
- if (HasExplicitAddend)
+ if (HasExplicitAddend) {
+ RE.Addend = ExplicitAddend;
Value.Addend = ExplicitAddend;
+ }
bool IsExtern = Obj.getPlainRelocationExternal(RelInfo);
if (!IsExtern && RE.IsPCRel)