diff options
Diffstat (limited to 'lld/lib/ReaderWriter/ELF/Mips/MipsLinkingContext.h')
| -rw-r--r-- | lld/lib/ReaderWriter/ELF/Mips/MipsLinkingContext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/ReaderWriter/ELF/Mips/MipsLinkingContext.h b/lld/lib/ReaderWriter/ELF/Mips/MipsLinkingContext.h index 7f56b115b5a..3c45015f420 100644 --- a/lld/lib/ReaderWriter/ELF/Mips/MipsLinkingContext.h +++ b/lld/lib/ReaderWriter/ELF/Mips/MipsLinkingContext.h @@ -39,7 +39,7 @@ enum { class MipsLinkingContext final : public ELFLinkingContext { public: - static const int machine = llvm::ELF::EM_MIPS; + int getMachineType() const override { return llvm::ELF::EM_MIPS; } MipsLinkingContext(llvm::Triple triple); std::error_code mergeHeaderFlags(uint8_t fileClass, uint64_t flags) override; |

