[PATCH] Restructure the propagation of -fPIC/-fPIE.
Rafael Espíndola via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 21 15:53:03 PDT 2016
The PIC and PIE levels are not independent. In fact, if PIE is defined
it is always the same as PIC.
This is clear in the driver where ParsePICArgs returns a PIC level and
a IsPIE boolean. Unfortunately that is currently lost and we pass two
redundant levels down the pipeline.
This patch keeps a bool and a PIC level all the way down to codegen. I
intend to send a patch for LLVM tomorrow so that CodeGen too can be
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 12273 bytes
Desc: not available
More information about the cfe-commits