mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
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
a35169d497
commit
571b1bc55b
@ -366,6 +366,10 @@ public:
|
|||||||
return Env;
|
return Env;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reloc::Model getRelocM() const {
|
||||||
|
return RelocM;
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Environment Env;
|
Environment Env;
|
||||||
Reloc::Model RelocM;
|
Reloc::Model RelocM;
|
||||||
|
Loading…
Reference in New Issue
Block a user