llvm-objdump: don't print relocations in non-relocatable files.
[oota-llvm.git] / include / llvm / Object / COFF.h
index 1e8d2c18f3ac3cf605b281e87e9b20349b48a29b..fdeab2c92f34615141e6ca1ff42d4cabf2f467aa 100644 (file)
@@ -462,6 +462,8 @@ public:
   std::error_code getHintName(uint32_t Rva, uint16_t &Hint,
                               StringRef &Name) const;
 
+  bool isRelocatableObject() const override;
+
   static inline bool classof(const Binary *v) { return v->isCOFF(); }
 };