summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/ELF/ARM/ARMLinkingContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/lib/ReaderWriter/ELF/ARM/ARMLinkingContext.h')
-rw-r--r--lld/lib/ReaderWriter/ELF/ARM/ARMLinkingContext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/ReaderWriter/ELF/ARM/ARMLinkingContext.h b/lld/lib/ReaderWriter/ELF/ARM/ARMLinkingContext.h
index 5540b730add..a354c2fc415 100644
--- a/lld/lib/ReaderWriter/ELF/ARM/ARMLinkingContext.h
+++ b/lld/lib/ReaderWriter/ELF/ARM/ARMLinkingContext.h
@@ -19,7 +19,7 @@ namespace elf {
class ARMLinkingContext final : public ELFLinkingContext {
public:
- static const int machine = llvm::ELF::EM_ARM;
+ int getMachineType() const override { return llvm::ELF::EM_ARM; }
ARMLinkingContext(llvm::Triple);
void addPasses(PassManager &) override;
OpenPOWER on IntegriCloud