Remove getRelocationAddress.
[oota-llvm.git] / lib / Object / COFFObjectFile.cpp
index fcdd7d2c13b0452b3b2fdf4a0d94874ab4488c49..5f9b4fa60939ad843f246e2fcf5d5fde7d68262b 100644 (file)
@@ -958,10 +958,6 @@ void COFFObjectFile::moveRelocationNext(DataRefImpl &Rel) const {
             reinterpret_cast<const coff_relocation*>(Rel.p) + 1);
 }
 
-ErrorOr<uint64_t> COFFObjectFile::getRelocationAddress(DataRefImpl Rel) const {
-  report_fatal_error("getRelocationAddress not implemented in COFFObjectFile");
-}
-
 uint64_t COFFObjectFile::getRelocationOffset(DataRefImpl Rel) const {
   const coff_relocation *R = toRel(Rel);
   return R->VirtualAddress;