forked from OSchip/llvm-project
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. llvm-svn: 202418
This commit is contained in:
parent
8bdab43964
commit
7fe38e1ade
|
@ -366,6 +366,10 @@ public:
|
|||
return Env;
|
||||
}
|
||||
|
||||
Reloc::Model getRelocM() const {
|
||||
return RelocM;
|
||||
}
|
||||
|
||||
private:
|
||||
Environment Env;
|
||||
Reloc::Model RelocM;
|
||||
|
|
Loading…
Reference in New Issue