[PATCH] - Add access to the Relocation Model

Matheus Almeida Matheus.Almeida at imgtec.com
Thu Feb 27 08:04:27 PST 2014


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. This patch just adds a 'getter' method to the MCObjectInfo class as suggested by Rafael.

Tests will be added when I start adding more functionality to the Mips IAS that requires the relocation model to expand some assembly directives.

Regards,
Matheus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140227/cec21de2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: relocm.patch
Type: application/octet-stream
Size: 367 bytes
Desc: relocm.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140227/cec21de2/attachment.obj>


More information about the llvm-commits mailing list