Skip to content
  1. Aug 11, 2009
  2. Aug 10, 2009
    • Chris Lattner's avatar
      split MachO section handling stuff out to its out .h/.cpp file. · 6c20391d
      Chris Lattner authored
      llvm-svn: 78576
      6c20391d
    • Chris Lattner's avatar
      Make the big switch: Change MCSectionMachO to represent a section *semantically* · cb307a27
      Chris Lattner authored
      instead of syntactically as a string.  This means that it keeps track of the 
      segment, section, flags, etc directly and asmprints them in the right format.
      This also includes parsing and validation support for llvm-mc and 
      "attribute(section)", so we should now start getting errors about invalid 
      section attributes from the compiler instead of the assembler on darwin.
      
      Still todo: 
      1) Uniquing of darwin mcsections
      2) Move all the Darwin stuff out to MCSectionMachO.[cpp|h]
      3) there are a few FIXMEs, for example what is the syntax to get the
         S_GB_ZEROFILL segment type?
      
      llvm-svn: 78547
      cb307a27
  3. Aug 09, 2009
    • Chris Lattner's avatar
      1. Make MCSection an abstract class. · 1cb9396f
      Chris Lattner authored
      2. Move section switch printing to MCSection virtual method which takes a
         TAI.  This eliminates textual formatting stuff from TLOF.
      3. Eliminate SwitchToSectionDirective, getSectionFlagsAsString, and 
         TLOFELF::AtIsCommentChar.
      
      llvm-svn: 78510
      1cb9396f
  4. Aug 08, 2009
  5. Aug 06, 2009
    • Chris Lattner's avatar
      Fix several fixmes and clean up code by sinking *all* section · 1ff90134
      Chris Lattner authored
      creation activity into the target-specific subclasses of TLOF.
      Before this, globals with explicit sections could be created by
      the base class.
      
      1. make getOrCreateSection protected, add a new getExplicitSectionGlobal
         pure virtual method to assign sections to globals with a specified
         section.
      2. eliminate getSpecialCasedSectionGlobals, which is now PIC specific.
      3. eliminate the getKindForNamedSection virtual method, which is
         now just a static method for ELF.
      4. Add implementions of getExplicitSectionGlobal for ELF/PECOFF/Darwin/PIC16.
         They are now all detangled and understandable, woo! :)
      
      llvm-svn: 78319
      1ff90134
  6. Aug 05, 2009
  7. Aug 04, 2009
  8. Aug 03, 2009
  9. Aug 02, 2009
  10. Aug 01, 2009
  11. Jul 31, 2009
  12. Jul 29, 2009
  13. Jul 28, 2009
Loading