Make getRelocationSection MachO only.
[oota-llvm.git] / include / llvm / Object / MachO.h
index 72db49aac984604422b0649f21212f4af0efc04d..4350a759f153b5bf054937c9394efb5ee671171a 100644 (file)
@@ -236,7 +236,7 @@ public:
   std::error_code getRelocationOffset(DataRefImpl Rel,
                                       uint64_t &Res) const override;
   symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override;
-  section_iterator getRelocationSection(DataRefImpl Rel) const override;
+  section_iterator getRelocationSection(DataRefImpl Rel) const;
   std::error_code getRelocationType(DataRefImpl Rel,
                                     uint64_t &Res) const override;
   std::error_code