diff options
Diffstat (limited to 'lld/ELF/InputFiles.cpp')
| -rw-r--r-- | lld/ELF/InputFiles.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/InputFiles.cpp b/lld/ELF/InputFiles.cpp index 8e3b1689884..7cc47de9973 100644 --- a/lld/ELF/InputFiles.cpp +++ b/lld/ELF/InputFiles.cpp @@ -20,7 +20,7 @@ using namespace lld::elf2; template <class ELFT> bool ObjectFile<ELFT>::isCompatibleWith(const ObjectFileBase &Other) const { - if (kind() != Other.kind()) + if (getELFKind() != Other.getELFKind()) return false; return getObj()->getHeader()->e_machine == cast<ObjectFile<ELFT>>(Other).getObj()->getHeader()->e_machine; |

