diff options
| author | Renato Golin <renato.golin@linaro.org> | 2014-09-24 21:30:43 +0000 |
|---|---|---|
| committer | Renato Golin <renato.golin@linaro.org> | 2014-09-24 21:30:43 +0000 |
| commit | 4b5f91f513d51892eb2c4157df2ca0ea93a35a74 (patch) | |
| tree | 469446e26ba5d9332c24ff619d432da48fd90ff7 /llvm/lib/DebugInfo/DWARFContext.cpp | |
| parent | ba89f068bf959d0f6c069a391c771d366a156ed4 (diff) | |
| download | bcm5719-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.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()) { |

