diff options
| author | Kaelyn Takata <rikka@google.com> | 2014-09-24 17:49:07 +0000 |
|---|---|---|
| committer | Kaelyn Takata <rikka@google.com> | 2014-09-24 17:49:07 +0000 |
| commit | f2fce1492092b5ca5f9a5aef5d41841860af8b8b (patch) | |
| tree | bbe889af8130866ff1fec1e3947b6baaea88216d /llvm/lib/DebugInfo/DWARFContext.cpp | |
| parent | 7533b4dada21d04b10bd9f435309c25a25f3e3ec (diff) | |
| download | bcm5719-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.cpp | 2 |
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()) { |

