diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2016-06-23 15:07:32 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2016-06-23 15:07:32 +0000 |
commit | c9d336e5498960c8cb281a599c041052312497b1 (patch) | |
tree | 387fccebec381a01b0fd0274909ed564f544a810 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | fcc7f6fad2ecb813a6e894d19e17631902925be5 (diff) | |
download | bcm5719-llvm-c9d336e5498960c8cb281a599c041052312497b1.tar.gz bcm5719-llvm-c9d336e5498960c8cb281a599c041052312497b1.zip |
Restructure the propagation of -fPIC/-fPIE.
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.
llvm-svn: 273566
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions