Skip to content
  1. Apr 04, 2010
  2. Mar 13, 2010
  3. Mar 12, 2010
  4. Feb 10, 2010
  5. Feb 03, 2010
  6. Jan 28, 2010
  7. Jan 26, 2010
  8. Jan 25, 2010
  9. Jan 19, 2010
    • Chris Lattner's avatar
      Now that we have everything nicely factored (e.g. asmprinter is not · c7a062d1
      Chris Lattner authored
      doing global variable classification anymore) and hookized, sink almost
      all target targets global variable emission code into AsmPrinter and out
      of each target.
      
      Some notes:
      
      1. PIC16 does completely custom and crazy stuff, so it is not changed.
      2. XCore has some custom handling for extra directives.  I'll look at it next.
      3. This switches linux/ppc to use .globl instead of .global.  If .globl is
         actually wrong, let me know and I'll fix it.
      4. This makes linux/ppc get a lot of random cases right which were obviously
         wrong before, it is probably now a bit healthier.
      5. Blackfin will probably start getting .comm and other things that it didn't
         before.  If this is undesirable, it should explicitly opt out of these
         things by clearing the relevant fields of MCAsmInfo.
      
      This leads to a nice diffstat:
       14 files changed, 127 insertions(+), 830 deletions(-)
      
      llvm-svn: 93858
      c7a062d1
    • Chris Lattner's avatar
      simplify the mips target to print .size and .type for c strings · 9d749a2f
      Chris Lattner authored
      just like all other elf targets.  Bruno, if this isn't right, please
      let me know + why :)
      
      llvm-svn: 93856
      9d749a2f
  10. Jan 17, 2010
  11. Jan 16, 2010
  12. Nov 19, 2009
  13. Nov 13, 2009
    • David Greene's avatar
      · 659c1a9d
      David Greene authored
      Move DebugInfo checks into EmitComments and remove them from
      target-specific AsmPrinters.  Not all comments need DebugInfo.
      
      Re-enable the line numbers comment test.
      
      llvm-svn: 88697
      659c1a9d
  14. Oct 25, 2009
  15. Oct 06, 2009
  16. Oct 01, 2009
    • Devang Patel's avatar
      Use MachineInstr as an processDebugLoc() argument. · e0709cfc
      Devang Patel authored
      This will allow processDebugLoc() to handle scopes for DWARF debug info. 
      
      llvm-svn: 83183
      e0709cfc
    • Bob Wilson's avatar
      Add a new virtual EmitStartOfAsmFile method to the AsmPrinter and use this · b633d7a6
      Bob Wilson authored
      to emit target-specific things at the beginning of the asm output.  This
      fixes a problem for PPC, where the text sections are not being kept together
      as expected.  The base class doInitialization code calls DW->BeginModule()
      which emits a bunch of DWARF section directives.  The PPC doInitialization
      code then emits all the TEXT section directives, with the intention that they
      will be kept together. But as I understand it, the Darwin assembler treats
      the default TEXT section as a special case and moves it to the beginning of
      the file, which means that all those DWARF sections are in the middle of
      the text.  With this change, the EmitStartOfAsmFile hook is called before
      the DWARF section directives are emitted, so that all the PPC text section
      directives come out right at the beginning of the file.
      
      llvm-svn: 83176
      b633d7a6
  17. Sep 13, 2009
  18. Sep 10, 2009
    • Chris Lattner's avatar
      remove DebugLoc from MCInst and eliminate "Comment printing" from · 321bc99a
      Chris Lattner authored
      the MCInst path of the asmprinter.  Instead, pull comment printing
      out of the autogenerated asmprinter into each target that uses the
      autogenerated asmprinter.  This causes code duplication into each
      target, but in a way that will be easier to clean up later when more
      asmprinter stuff is commonized into the base AsmPrinter class.
      
      This also fixes an xcore strangeness where it inserted two tabs
      before every instruction.
      
      llvm-svn: 81396
      321bc99a
  19. Sep 01, 2009
    • Bruno Cardoso Lopes's avatar
      Reapply 80278 · 0f20a5b3
      Bruno Cardoso Lopes authored
      Add MO flags to simplify the printing of relocations.
      Remove the support for printing large code model relocs (which
      aren't supported anyway).
      
      llvm-svn: 80691
      0f20a5b3
  20. Aug 27, 2009
  21. Aug 22, 2009
  22. Aug 19, 2009
Loading