diff --git a/include/llvm/MC/MCObjectFileInfo.h b/include/llvm/MC/MCObjectFileInfo.h index cc5eb9eeeb9..25246929ce5 100644 --- a/include/llvm/MC/MCObjectFileInfo.h +++ b/include/llvm/MC/MCObjectFileInfo.h @@ -366,6 +366,10 @@ public: return Env; } + Reloc::Model getRelocM() const { + return RelocM; + } + private: Environment Env; Reloc::Model RelocM;