Skip to content
  1. Aug 18, 2009
  2. Aug 17, 2009
  3. Aug 16, 2009
  4. Aug 13, 2009
  5. Aug 12, 2009
  6. Aug 11, 2009
  7. 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
  8. Aug 05, 2009
  9. Aug 04, 2009
  10. Aug 03, 2009
  11. Aug 02, 2009
  12. Jul 31, 2009
  13. Jul 29, 2009
  14. Jul 28, 2009
    • Devang Patel's avatar
      Rename MDNode.h header. It defines MDnode and other metadata classes. · a4f43fb5
      Devang Patel authored
      New name is Metadata.h.
      
      llvm-svn: 77370
      a4f43fb5
    • 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
  15. Jul 27, 2009
  16. Jul 26, 2009
  17. Jul 24, 2009
  18. Jul 21, 2009
  19. Jul 20, 2009
  20. Jul 15, 2009
  21. 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
    • Chris Lattner's avatar
      Reapply my previous asmprinter changes now with more testing and two · 8c9a96b9
      Chris Lattner authored
      additional bug fixes:
      
      1. The bug that everyone hit was a problem in the asmprinter where it
         would remove $stub but keep the L prefix on a name when emitting the
         indirect symbol.  This is easy to fix by keeping the name of the stub
         and the name of the symbol in a StringMap instead of just keeping a
         StringSet and trying to reconstruct it late.
      
      2. There was a problem printing the personality function.  The current
         logic to print out the personality function from the DWARF information
         is a bit of a cesspool right now that duplicates a bunch of other 
         logic in the asm printer.  The short version of it is that it depends
         on emitting both the L and _ prefix for symbols (at least on darwin)
         and until I can untangle it, it is best to switch the mangler back to
         emitting both prefixes.
      
      llvm-svn: 75646
      8c9a96b9
    • Torok Edwin's avatar
      llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. · fbcc663c
      Torok Edwin authored
      This adds location info for all llvm_unreachable calls (which is a macro now) in
      !NDEBUG builds.
      In NDEBUG builds location info and the message is off (it only prints
      "UREACHABLE executed").
      
      llvm-svn: 75640
      fbcc663c
    • Daniel Dunbar's avatar
      Revert r75610 (and r75620, which was blocking the revert), in the hopes of · 966932cc
      Daniel Dunbar authored
      unbreaking llvm-gcc (on Darwin).
      
      --- Reverse-merging r75620 into '.':
      U    include/llvm/Support/Mangler.h
      --- Reverse-merging r75610 into '.':
      U    test/CodeGen/X86/loop-hoist.ll
      G    include/llvm/Support/Mangler.h
      U    lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp
      U    lib/VMCore/Mangler.cpp
      
      llvm-svn: 75636
      966932cc
Loading