Skip to content
  1. May 01, 2012
  2. Apr 27, 2012
  3. Apr 26, 2012
  4. Apr 25, 2012
  5. Apr 24, 2012
  6. Apr 23, 2012
  7. Apr 21, 2012
  8. Apr 20, 2012
  9. Apr 18, 2012
  10. Apr 17, 2012
  11. Apr 16, 2012
  12. Apr 15, 2012
  13. Apr 10, 2012
  14. Apr 09, 2012
  15. Apr 08, 2012
    • Chandler Carruth's avatar
      Teach Clang about PIE compilations. This is the first step of PR12380. · c0c0455f
      Chandler Carruth authored
      First, this patch cleans up the parsing of the PIC and PIE family of
      options in the driver. The existing logic failed to claim arguments all
      over the place resulting in kludges that marked the options as unused.
      Instead actually walk all of the arguments and claim them properly.
      
      We now treat -f{,no-}{pic,PIC,pie,PIE} as a single set, accepting the
      last one on the commandline. Previously there were lots of ordering bugs
      that could creep in due to the nature of the parsing. Let me know if
      folks would like weird things such as "-fPIE -fno-pic" to turn on PIE,
      but disable full PIC. This doesn't make any sense to me, but we could in
      theory support it.
      
      Options that seem to have intentional "trump" status (-static, -mkernel,
      etc) continue to do so and are commented as such.
      
      Next, a -pie-level flag is threaded into the frontend, rigged to
      a language option, and handled preprocessor, setting up the appropriate
      defines. We'll now have the correct defines when compiling with -fpie.
      
      The one place outside of the preprocessor that was inspecting the PIC
      level (as opposed to the relocation model, which is set and handled
      separately, yay!) is in the GNU ObjC runtime. I changed it to exactly
      preserve existing behavior. If folks want to change its behavior in the
      face of PIE, they can do that in a separate patch.
      
      Essentially the only functionality changed here is the preprocessor
      defines and bug-fixes to the argument management.
      
      Tests have been updated and extended to test all of this a bit more
      thoroughly.
      
      llvm-svn: 154291
      c0c0455f
    • Simon Atanasyan's avatar
      MIPS: Pass -mabi option to the assmbler when compile MIPS targets. · 571d7bde
      Simon Atanasyan authored
      llvm-svn: 154270
      571d7bde
    • Simon Atanasyan's avatar
  16. Apr 07, 2012
  17. Apr 06, 2012
Loading