Skip to content
  1. Aug 13, 2009
  2. Aug 12, 2009
  3. Aug 02, 2009
  4. Jul 31, 2009
  5. Jul 28, 2009
    • Chris Lattner's avatar
      Rip all of the global variable lowering logic out of TargetAsmInfo. Since · 5e693ed0
      Chris Lattner authored
      it is highly specific to the object file that will be generated in the end,
      this introduces a new TargetLoweringObjectFile interface that is implemented
      for each of ELF/MachO/COFF/Alpha/PIC16 and XCore.
      
      Though still is still a brutal and ugly refactoring, this is a major step
      towards goodness.
      
      This patch also:
      1. fixes a bunch of dangling pointer problems in the PIC16 backend.
      2. disables the TargetLowering copy ctor which PIC16 was accidentally using.
      3. gets us closer to xcore having its own crazy target section flags and
         pic16 not having to shadow sections with its own objects.
      4. fixes wierdness where ELF targets would set CStringSection but not
         CStringSection_.  Factor the code better.
      5. fixes some bugs in string lowering on ELF targets.
      
      llvm-svn: 77294
      5e693ed0
  6. Jul 27, 2009
  7. Jul 26, 2009
  8. Jul 25, 2009
    • Chris Lattner's avatar
      this is (unfortunately) several changes mixed together: · 60f3b73e
      Chris Lattner authored
      1. Spell SectionFlags::Writeable as "Writable".
      2. Add predicates for deriving SectionFlags from SectionKinds.
      3. Sink ELF-specific getSectionPrefixForUniqueGlobal impl into
         ELFTargetAsmInfo.
      4. Fix SectionFlagsForGlobal to know that BSS/ThreadBSS has the
         BSS bit set (the real fix for PR4619).
      5. Fix isSuitableForBSS to not put globals with explicit sections
         set in BSS (which was the reason #4 wasn't fixed earlier).
      6. Remove my previous hack for PR4619.
      
      llvm-svn: 77085
      60f3b73e
  9. Jul 24, 2009
  10. Jul 22, 2009
  11. Jul 21, 2009
  12. Jul 20, 2009
  13. Jul 17, 2009
    • Chris Lattner's avatar
      Untangle a snarl that I discovered when updating the mangler, · e79b2bc0
      Chris Lattner authored
      starting in getCurrentFunctionEHName.  Among other problems,
      we would try to privative a "foo.eh" label, but end up emitting
      the label as _Lfoo.eh instead of L_foo.eh on darwin.  This is really
      bad, and the linker has always tolerated these labels existing.
      For now, just emit them as _foo.eh.
      
      This patch also fixes problems with ".eh" labels on unnamed
      functions and eliminates two strangely defined TargetAsmInfo
      hooks.
      
      llvm-svn: 76231
      e79b2bc0
Loading