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