Add getter method to access Reloc::Model.

Some MC components like Target Streamers or Assembly Parsers
may need to access the relocation model in order to expand
some directives and/or assembly macros.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202418 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Matheus Almeida 2014-02-27 18:39:53 +00:00
parent e6a9693ab1
commit 3e31a5684a

View File

@ -366,6 +366,10 @@ public:
return Env;
}
Reloc::Model getRelocM() const {
return RelocM;
}
private:
Environment Env;
Reloc::Model RelocM;