summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARFContext.cpp
diff options
context:
space:
mode:
authorKaelyn Takata <rikka@google.com>2014-09-24 17:49:07 +0000
committerKaelyn Takata <rikka@google.com>2014-09-24 17:49:07 +0000
commitf2fce1492092b5ca5f9a5aef5d41841860af8b8b (patch)
treebbe889af8130866ff1fec1e3947b6baaea88216d /llvm/lib/DebugInfo/DWARFContext.cpp
parent7533b4dada21d04b10bd9f435309c25a25f3e3ec (diff)
downloadbcm5719-llvm-f2fce1492092b5ca5f9a5aef5d41841860af8b8b.tar.gz
bcm5719-llvm-f2fce1492092b5ca5f9a5aef5d41841860af8b8b.zip
Revert "Refactor the RelocVisitor::visit method"
This reverts commit faac033f7364bb4226e22c8079c221c96af10d02. The test depends on all targets to be enabled in llc in order to pass, and needs to be rewritten/refactored to not have that dependency. llvm-svn: 218393
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