[PATCH] D23610: [ARM] Add pre-defined macros for ROPI, RWPI and FPIC
Oliver Stannard via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 17 07:29:32 PDT 2016
olista01 created this revision.
olista01 added reviewers: rengolin, t.p.northover.
olista01 added a subscriber: cfe-commits.
olista01 set the repository for this revision to rL LLVM.
Herald added subscribers: samparker, rengolin, aemerson.
This adds pre-defined macros to test for code being compiled in the FPIC, ROPI and RWPI position-independence modes. The names of the macros match those used by armcc, which also implements all of the PIC modes.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5382 bytes
Desc: not available
More information about the cfe-commits