Skip to content
  1. Jul 17, 2009
    • Chris Lattner's avatar
      Untangle a snarl that I discovered when updating the mangler, · e79b2bc0
      Chris Lattner authored
      starting in getCurrentFunctionEHName.  Among other problems,
      we would try to privative a "foo.eh" label, but end up emitting
      the label as _Lfoo.eh instead of L_foo.eh on darwin.  This is really
      bad, and the linker has always tolerated these labels existing.
      For now, just emit them as _foo.eh.
      
      This patch also fixes problems with ".eh" labels on unnamed
      functions and eliminates two strangely defined TargetAsmInfo
      hooks.
      
      llvm-svn: 76231
      e79b2bc0
    • David Greene's avatar
      · de9cd44e
      David Greene authored
      Emit line numbers in asm comments when available.
      
      llvm-svn: 76117
      de9cd44e
  2. Jul 15, 2009
  3. 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 r7561{9,8,7,6}, which depend on r75610. · eb3e4271
      Daniel Dunbar authored
      --- Reverse-merging r75619 into '.':
      U    lib/Target/DarwinTargetAsmInfo.cpp
      U    lib/CodeGen/AsmPrinter/AsmPrinter.cpp
      --- Reverse-merging r75618 into '.':
      U    lib/CodeGen/ELFWriter.cpp
      U    lib/CodeGen/MachOCodeEmitter.cpp
      U    lib/CodeGen/MachOWriter.cpp
      --- Reverse-merging r75617 into '.':
      U    lib/Target/CBackend/CBackend.cpp
      --- Reverse-merging r75616 into '.':
      U    tools/bugpoint/Miscompilation.cpp
      U    tools/lto/LTOCodeGenerator.cpp
      U    tools/lto/LTOModule.cpp
      
      llvm-svn: 75638
      eb3e4271
    • Chris Lattner's avatar
      rename getValueName -> getMangledName. These two files have very · 3af24cc2
      Chris Lattner authored
      dubious looking things that I need to investigate in more detail.
      
      llvm-svn: 75619
      3af24cc2
    • Chris Lattner's avatar
      Change the internal interface to makeNameProper to take a bool that · f34815b3
      Chris Lattner authored
      indicates whether the label is private or not, instead of taking
      prefix stuff.  One effect of this is that symbols will be generated
      with *just* the private prefix, instead of both the private prefix
      *and* the user-label-prefix, but this doesn't matter as long as it
      is consistent.  For example we'll now get "Lfoo" instead of "L_foo".
      These are just assembler temporary labels anyway, so they never even
      make it into the .o file.
      
      llvm-svn: 75607
      f34815b3
  4. Jul 13, 2009
    • David Greene's avatar
      · de54478b
      David Greene authored
      Add infrastructure to allow post instruction printing action triggers.
      We'll eventually use this to print comments in asm files and do other
      fun things.
      
      This adds interfaces to the AsmPrinter and changes TableGen to invoke
      the postInstructionAction when appropriate.  It also add parameters to
      TargetAsmInfo to control comment layout.
      
      llvm-svn: 75490
      de54478b
  5. Jul 11, 2009
  6. Jul 01, 2009
  7. Jun 25, 2009
  8. Jun 24, 2009
  9. Jun 19, 2009
  10. Jun 18, 2009
  11. Jun 15, 2009
  12. May 21, 2009
  13. May 09, 2009
  14. May 07, 2009
  15. Apr 30, 2009
  16. Apr 29, 2009
    • Bill Wendling's avatar
      Second attempt: · 084669a1
      Bill Wendling authored
      Massive check in. This changes the "-fast" flag to "-O#" in llc. If you want to
      use the old behavior, the flag is -O0. This change allows for finer-grained
      control over which optimizations are run at different -O levels.
      
      Most of this work was pretty mechanical. The majority of the fixes came from
      verifying that a "fast" variable wasn't used anymore. The JIT still uses a
      "Fast" flag. I'll change the JIT with a follow-up patch.
      
      llvm-svn: 70343
      084669a1
  17. Apr 28, 2009
  18. Apr 15, 2009
  19. Apr 13, 2009
  20. Apr 10, 2009
  21. Apr 08, 2009
  22. Mar 25, 2009
  23. Mar 24, 2009
  24. Mar 23, 2009
    • Dale Johannesen's avatar
      Fix internal representation of fp80 to be the · 93eefa00
      Dale Johannesen authored
      same as a normal i80 {low64, high16} rather
      than its own {high64, low16}.  A depressing number
      of places know about this; I think I got them all.
      Bitcode readers and writers convert back to the old
      form to avoid breaking compatibility.
      
      llvm-svn: 67562
      93eefa00
Loading