projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert 218406 - Refactor the RelocVisitor::visit method
[oota-llvm.git]
/
lib
/
DebugInfo
/
DWARFContext.cpp
diff --git
a/lib/DebugInfo/DWARFContext.cpp
b/lib/DebugInfo/DWARFContext.cpp
index 39e6f4665b296ebc03567e0377836f4619c0fe25..1be0691a1d974bc9689265b51d78096b3f4e7f50 100644
(file)
--- a/
lib/DebugInfo/DWARFContext.cpp
+++ b/
lib/DebugInfo/DWARFContext.cpp
@@
-667,7
+667,7
@@
DWARFContextInMemory::DWARFContextInMemory(object::ObjectFile &Obj)
Sym->getAddress(SymAddr);
}
- object::RelocVisitor V(Obj);
+ object::RelocVisitor V(Obj
.getFileFormatName()
);
// The section address is always 0 for debug sections.
object::RelocToApply R(V.visit(Type, Reloc, 0, SymAddr));
if (V.error()) {