Skip to content
  1. Jul 25, 2009
  2. Jul 23, 2009
  3. Jul 22, 2009
  4. Jul 20, 2009
  5. Jul 14, 2009
  6. 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
  7. Jul 08, 2009
  8. Jul 07, 2009
  9. Jul 02, 2009
  10. Jul 01, 2009
  11. Apr 13, 2009
  12. Mar 08, 2009
  13. 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
  14. Mar 03, 2009
  15. Jan 15, 2009
  16. Jan 09, 2009
  17. Oct 25, 2008
  18. Oct 15, 2008
  19. Sep 29, 2008
  20. Sep 22, 2008
  21. Sep 09, 2008
  22. Jul 14, 2008
  23. Jul 10, 2008
  24. Jul 07, 2008
  25. Jul 06, 2008
  26. Jun 27, 2008
  27. Jun 20, 2008
  28. Jun 17, 2008
  29. Jun 16, 2008
Loading