Skip to content
Snippets Groups Projects
  1. May 20, 2013
  2. Mar 21, 2013
    • Richard Smith's avatar
      Split ubsan runtime into three pieces (clang part): · 61a574f6
      Richard Smith authored
       * libclang_rt-san-* is sanitizer_common, and is linked in only if no other
         sanitizer runtime is present.
       * libclang_rt-ubsan-* is the piece of the runtime which doesn't depend on
         a C++ ABI library, and is always linked in.
       * libclang_rt-ubsan_cxx-* is the piece of the runtime which depends on a
         C++ ABI library, and is only linked in when linking a C++ binary.
      
      This change also switches us to using -whole-archive for the ubsan runtime
      (which is made possible by the above split), and switches us to only linking
      the sanitizer runtime into the main binary and not into DSOs (which is made
      possible by using -whole-archive).
      
      The motivation for this is to only link a single copy of sanitizer_common
      into any binary. This is becoming important now because we want to share
      more state between multiple sanitizers in the same process (for instance,
      we want a single shared output mutex).
      
      The Darwin ubsan runtime is unchanged; because we use a DSO there, we don't
      need this complexity.
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177605 91177308-0d34-0410-b5e6-96231b3b80d8
      61a574f6
  3. Feb 21, 2013
  4. Nov 16, 2012
  5. Nov 15, 2012
  6. Oct 24, 2012
  7. Oct 16, 2012
  8. Oct 15, 2012
  9. Oct 09, 2012
  10. Oct 03, 2012
  11. Sep 30, 2012
  12. Sep 17, 2012
  13. Sep 14, 2012
  14. Jun 26, 2012
  15. May 16, 2012
  16. Mar 05, 2012
  17. Feb 24, 2012
  18. Jan 21, 2012
  19. Dec 07, 2011
  20. Dec 02, 2011
  21. Nov 27, 2011
  22. Nov 17, 2011
  23. Sep 30, 2011
  24. Jun 22, 2011
  25. Apr 19, 2011
  26. Apr 15, 2011
  27. Feb 11, 2011
  28. Dec 22, 2010
  29. Dec 16, 2010
  30. Dec 01, 2010
  31. Nov 29, 2010
  32. Sep 22, 2010
  33. Sep 15, 2010
  34. Jul 01, 2010
Loading