Skip to content
  1. Aug 04, 2009
  2. Aug 03, 2009
  3. Aug 02, 2009
  4. Aug 01, 2009
    • Chris Lattner's avatar
      Change SectionKind to be a property that is true of a *section*, it · c9c277ba
      Chris Lattner authored
      should have no state that is specific to particular globals in the
      section.  In this case, it means the removal of the "isWeak" and
      "ExplicitSection" bits.  MCSection uses the new form of SectionKind.
      
      To handle isWeak, I introduced a new SectionInfo class, which is
      SectionKind + isWeak, and it is used by the part of the code generator
      that does classification of a specific global.
      
      The ExplicitSection disappears.  It is moved onto MCSection as a new
      "IsDirective" bit.  Since the Name of a section is either a section
      or directive, it makes sense to keep this bit in MCSection.  Ultimately
      the creator of MCSection should canonicalize (e.g.) .text to whatever
      the actual section is.
      
      llvm-svn: 77803
      c9c277ba
    • Dan Gohman's avatar
      Use setPreservesAll and setPreservesCFG in CodeGen passes. · 0402315d
      Dan Gohman authored
      llvm-svn: 77754
      0402315d
  5. Jul 31, 2009
  6. Jul 29, 2009
  7. 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
  8. Jul 27, 2009
  9. Jul 26, 2009
  10. Jul 24, 2009
  11. Jul 22, 2009
    • David Greene's avatar
      · 6e2eda1c
      David Greene authored
      Put comment printing under asm-verbose.
      
      llvm-svn: 76780
      6e2eda1c
    • Chris Lattner's avatar
      remove the SelectSectionForMachineConst hook, replacing it with · b300a4f9
      Chris Lattner authored
      a new getSectionForMergableConstant hook.  This removes one dependence
      of TAI on Type, and provides the hook with enough info to make the 
      right decision based on whether the global has relocations etc.
      
      llvm-svn: 76705
      b300a4f9
  12. Jul 21, 2009
  13. Jul 20, 2009
  14. Jul 18, 2009
  15. 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
    • David Greene's avatar
      · de9cd44e
      David Greene authored
      Emit line numbers in asm comments when available.
      
      llvm-svn: 76117
      de9cd44e
  16. Jul 15, 2009
  17. Jul 14, 2009
    • David Greene's avatar
      · a31f96cf
      David Greene authored
      Have asm printers use formatted_raw_ostream directly to avoid a
      dynamic_cast<>.
      
      llvm-svn: 75670
      a31f96cf
Loading