Skip to content
  1. Jul 22, 2009
  2. Jul 21, 2009
  3. Jul 18, 2009
  4. 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
      · 33d1e7db
      David Greene authored
      Add logic to align instruction operands to columns for pretty-printing.
      No target uses this currently.  This patch only adds the mechanism so
      that local installations can choose to enable this.
      
      llvm-svn: 76177
      33d1e7db
  5. Jul 15, 2009
  6. Jul 14, 2009
  7. Jul 13, 2009
    • Owen Anderson's avatar
      e4dcecd0
    • 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
    • Owen Anderson's avatar
      Begin the painful process of tearing apart the rat'ss nest that is... · 53a52215
      Owen Anderson authored
      Begin the painful process of tearing apart the rat'ss nest that is Constants.cpp and ConstantFold.cpp.
      This involves temporarily hard wiring some parts to use the global context.  This isn't ideal, but it's
      the only way I could figure out to make this process vaguely incremental.
      
      llvm-svn: 75445
      53a52215
  8. Jul 11, 2009
    • Torok Edwin's avatar
      assert(0) -> LLVM_UNREACHABLE. · 56d06597
      Torok Edwin authored
      Make llvm_unreachable take an optional string, thus moving the cerr<< out of
      line.
      LLVM_UNREACHABLE is now a simple wrapper that makes the message go away for
      NDEBUG builds.
      
      llvm-svn: 75379
      56d06597
  9. Jun 19, 2009
  10. Apr 13, 2009
    • Devang Patel's avatar
      · 80be3511
      Devang Patel authored
      Reapply 68847.
      Now debug_inlined section is covered by TAI->doesDwarfUsesInlineInfoSection(), which is false by default.
      
      llvm-svn: 68964
      80be3511
  11. Apr 11, 2009
  12. Mar 30, 2009
  13. Mar 29, 2009
  14. Mar 07, 2009
    • Duncan Sands's avatar
      Introduce new linkage types linkonce_odr, weak_odr, common_odr · 12da8ce3
      Duncan Sands authored
      and extern_weak_odr.  These are the same as the non-odr versions,
      except that they indicate that the global will only be overridden
      by an *equivalent* global.  In C, a function with weak linkage can
      be overridden by a function which behaves completely differently.
      This means that IP passes have to skip weak functions, since any
      deductions made from the function definition might be wrong, since
      the definition could be replaced by something completely different
      at link time.   This is not allowed in C++, thanks to the ODR
      (One-Definition-Rule): if a function is replaced by another at
      link-time, then the new function must be the same as the original
      function.  If a language knows that a function or other global can
      only be overridden by an equivalent global, it can give it the
      weak_odr linkage type, and the optimizers will understand that it
      is alright to make deductions based on the function body.  The
      code generators on the other hand map weak and weak_odr linkage
      to the same thing.
      
      llvm-svn: 66339
      12da8ce3
  15. Jan 27, 2009
    • Anton Korobeynikov's avatar
      Treat [1 x i8] zeroinitializer as a C string, placing such stuff into · 70d4c08c
      Anton Korobeynikov authored
      mergeable string section. I don't see any bad impact of such decision
      (rather then placing it into mergeable const section, as it was before),
      but at least Darwin linker won't complain anymore.
      
      The problem in LLVM is that we don't have special type for string constants
      (like gcc does). Even more, we have two separate types: ConstatArray for non-null
      strings and ConstantAggregateZero for null stuff.... It's a bit weird :)
      
      llvm-svn: 63142
      70d4c08c
  16. Jan 26, 2009
  17. Jan 05, 2009
  18. Dec 29, 2008
  19. Dec 24, 2008
  20. Dec 03, 2008
    • Rafael Espindola's avatar
      Fix bug 3140. · cda011b5
      Rafael Espindola authored
      Print a single parameter .file directive if we have an ELF target.
      
      llvm-svn: 60480
      cda011b5
  21. Nov 03, 2008
  22. Sep 29, 2008
  23. Sep 25, 2008
Loading