Skip to content
  1. Nov 06, 2009
  2. Sep 20, 2009
  3. Sep 18, 2009
  4. Sep 17, 2009
  5. Sep 16, 2009
    • Chris Lattner's avatar
      Big change #1 for personality function references: · b866602f
      Chris Lattner authored
      Eliminate the PersonalityPrefix/Suffix & NeedsIndirectEncoding
      fields from MAI: they aren't part of the asm syntax, they are
      related to the structure of the object file.
      
      To replace their functionality, add a new 
      TLOF::getSymbolForDwarfGlobalReference method which asks targets
      to decide how to reference a global from EH in a pc-relative way.
      
      The default implementation just returns the symbol.  The default
      darwin implementation references the symbol through an indirect
      $non_lazy_ptr stub.  The bizarro x86-64 darwin specialization
      handles the weird "foo@GOTPCREL+4" hack.
      
      DwarfException.cpp now uses this to emit the reference to the
      symbol in the right way, and this also eliminates another 
      horrible hack from DwarfException.cpp:
      
      -    if (strcmp(MAI->getPersonalitySuffix(), "+4@GOTPCREL"))
      -      O << "-" << MAI->getPCSymbol();
      
      llvm-svn: 81991
      b866602f
  6. Sep 09, 2009
  7. Aug 27, 2009
  8. Aug 18, 2009
  9. Aug 17, 2009
  10. Aug 15, 2009
  11. Aug 14, 2009
  12. Aug 13, 2009
  13. Aug 11, 2009
  14. 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
  15. 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
  16. Aug 08, 2009
  17. 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
  18. Aug 05, 2009
  19. Aug 04, 2009
  20. Aug 03, 2009
Loading