summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARFContext.cpp
diff options
context:
space:
mode:
authorRenato Golin <renato.golin@linaro.org>2014-09-24 21:30:43 +0000
committerRenato Golin <renato.golin@linaro.org>2014-09-24 21:30:43 +0000
commit4b5f91f513d51892eb2c4157df2ca0ea93a35a74 (patch)
tree469446e26ba5d9332c24ff619d432da48fd90ff7 /llvm/lib/DebugInfo/DWARFContext.cpp
parentba89f068bf959d0f6c069a391c771d366a156ed4 (diff)
downloadbcm5719-llvm-4b5f91f513d51892eb2c4157df2ca0ea93a35a74.tar.gz
bcm5719-llvm-4b5f91f513d51892eb2c4157df2ca0ea93a35a74.zip
Revert 218406 - Refactor the RelocVisitor::visit method
llvm-svn: 218416
Diffstat (limited to 'llvm/lib/DebugInfo/DWARFContext.cpp')
-rw-r--r--llvm/lib/DebugInfo/DWARFContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/DWARFContext.cpp b/llvm/lib/DebugInfo/DWARFContext.cpp
index 39e6f4665b2..1be0691a1d9 100644
--- a/llvm/lib/DebugInfo/DWARFContext.cpp
+++ b/llvm/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()) {
OpenPOWER on IntegriCloud