Skip to content
  1. Oct 01, 2009
    • 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
  2. Sep 30, 2009
    • Bob Wilson's avatar
      Fix a comment. · 53904987
      Bob Wilson authored
      llvm-svn: 83171
      53904987
    • Mike Stump's avatar
      Add a way for a frontend to generate more complex dwarf location · 14cf8ecf
      Mike Stump authored
      information.  This allows arbitrary code involving DW_OP_plus_uconst
      and DW_OP_deref.  The scheme allows for easy extention to include,
      any, or all of the DW_OP_ opcodes.  I thought about just exposing all
      of them, but, wasn't sure if people wanted the dwarf opcodes exposed
      in the api.  Is that a layering violation?
      
      With this scheme, the entire existing block scheme used by llvm-gcc
      can be switched over to the new scheme.  I think that would be
      cleaner, as then the compiler specific bits are not present in llvm
      proper.  Before the old code can be yanked however, similar code in
      clang would have to be removed.
      
      Next up, more testing.
      
      llvm-svn: 83120
      14cf8ecf
  3. Sep 29, 2009
  4. Sep 25, 2009
  5. Sep 24, 2009
  6. Sep 23, 2009
  7. Sep 20, 2009
  8. Sep 19, 2009
  9. Sep 18, 2009
  10. Sep 17, 2009
  11. Sep 16, 2009
  12. Sep 14, 2009
  13. Sep 13, 2009
  14. Sep 11, 2009
  15. Sep 10, 2009
Loading