1
0
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:
Matheus Almeida 2014-02-27 18:39:53 +00:00
parent a35169d497
commit 571b1bc55b

View File

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