Skip to content
  1. Feb 16, 2010
  2. Feb 14, 2010
  3. Jan 26, 2010
    • Chris Lattner's avatar
      Eliminate SetDirective, and replace it with HasSetDirective. · ff234e09
      Chris Lattner authored
      Default HasSetDirective to true, since most targets have it.
      
      The targets that claim to not have it probably do, or it is
      spelled differently. These include Blackfin, Mips, Alpha, and
      PIC16.  All of these except pic16 are normal ELF targets, so
      they almost certainly have it.
      
      llvm-svn: 94585
      ff234e09
  4. Jan 25, 2010
  5. Jan 23, 2010
  6. Jan 20, 2010
  7. Jan 19, 2010
  8. 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
  9. Aug 22, 2009
  10. Aug 13, 2009
    • Daniel Dunbar's avatar
      Revert 78892 and 78895, these break generating working executables on · 86c065dd
      Daniel Dunbar authored
      x86_64-apple-darwin10.
      
      --- Reverse-merging r78895 into '.':
      U    test/CodeGen/PowerPC/2008-12-12-EH.ll
      U    lib/Target/DarwinTargetAsmInfo.cpp
      --- Reverse-merging r78892 into '.':
      U    include/llvm/Target/DarwinTargetAsmInfo.h
      U    lib/Target/X86/X86TargetAsmInfo.cpp
      U    lib/Target/X86/X86TargetAsmInfo.h
      U    lib/Target/ARM/ARMTargetAsmInfo.h
      U    lib/Target/ARM/ARMTargetMachine.cpp
      U    lib/Target/ARM/ARMTargetAsmInfo.cpp
      U    lib/Target/PowerPC/PPCTargetAsmInfo.cpp
      U    lib/Target/PowerPC/PPCTargetAsmInfo.h
      U    lib/Target/PowerPC/PPCTargetMachine.cpp
      G    lib/Target/DarwinTargetAsmInfo.cpp
      
      llvm-svn: 78919
      86c065dd
    • Chris Lattner's avatar
      fix a minor fixme. When building with SL and later tools, the ".eh" symbols · eb681981
      Chris Lattner authored
      don't need to be exported from the .o files.
      
      llvm-svn: 78892
      eb681981
  11. Aug 12, 2009
  12. Aug 11, 2009
  13. Aug 05, 2009
  14. Aug 04, 2009
  15. Aug 02, 2009
  16. Jul 31, 2009
  17. Jul 29, 2009
  18. Jul 28, 2009
    • Bill Wendling's avatar
      Darwin outputs (DW_EH_PE_pcrel | DW_EH_PE_indirect | DW_EH_PE_sdata4) when we're · 403990ad
      Bill Wendling authored
      dealing with Data.
      
      llvm-svn: 77372
      403990ad
    • 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
  19. Jul 27, 2009
Loading