projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
llvm-objdump: don't print relocations in non-relocatable files.
[oota-llvm.git]
/
include
/
llvm
/
Object
/
COFF.h
diff --git
a/include/llvm/Object/COFF.h
b/include/llvm/Object/COFF.h
index 1e8d2c18f3ac3cf605b281e87e9b20349b48a29b..fdeab2c92f34615141e6ca1ff42d4cabf2f467aa 100644
(file)
--- a/
include/llvm/Object/COFF.h
+++ b/
include/llvm/Object/COFF.h
@@
-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(); }
};