diff options
author | David Meyer <pdox@google.com> | 2012-03-09 20:41:57 +0000 |
---|---|---|
committer | David Meyer <pdox@google.com> | 2012-03-09 20:41:57 +0000 |
commit | 6f9489a86f33624f9ff5388411d12359ce9cef20 (patch) | |
tree | 24b05bed8391c0be6059143a5639605ec28f77b0 /include/llvm/Object/COFF.h | |
parent | a8eb6bb408e84ceb468ceb409f4c87308e67b9eb (diff) | |
download | external_llvm-6f9489a86f33624f9ff5388411d12359ce9cef20.zip external_llvm-6f9489a86f33624f9ff5388411d12359ce9cef20.tar.gz external_llvm-6f9489a86f33624f9ff5388411d12359ce9cef20.tar.bz2 |
[Object]
Make Binary::TypeID more granular, to distinguish between ELF 32/64 little/big
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152435 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Object/COFF.h')
-rw-r--r-- | include/llvm/Object/COFF.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Object/COFF.h b/include/llvm/Object/COFF.h index 4f90187..fc33ab1 100644 --- a/include/llvm/Object/COFF.h +++ b/include/llvm/Object/COFF.h @@ -179,7 +179,7 @@ public: error_code getSymbolName(const coff_symbol *symbol, StringRef &Res) const; static inline bool classof(const Binary *v) { - return v->getType() == isCOFF; + return v->isCOFF(); } static inline bool classof(const COFFObjectFile *v) { return true; } }; |