- Mar 04, 2014
-
-
Dmitry Vyukov authored
it's LD_PRELOAD-able llvm-svn: 202843
-
Sergey Matveev authored
llvm-svn: 202841
-
Alexey Samsonov authored
llvm-svn: 202837
-
Dmitry Vyukov authored
llvm-svn: 202831
-
Dmitry Vyukov authored
llvm-svn: 202826
-
Dmitry Vyukov authored
currently tsan hangs when linked with a shared library linked against an old version of pthread this change is another attempt to fix pthread_cond interceptors in different scenarios see the comment for implementation details llvm-svn: 202820
-
Tim Northover authored
llvm-svn: 202819
-
Dmitry Vyukov authored
llvm-svn: 202813
-
Tim Northover authored
Since these are primarily useful for deeply embedded targets where code size is very important, they are each in a separate file making use of infrastructure in sync-ops.h. This allows a linker to include just the functions that are actually used. rdar://problem/14736665 llvm-svn: 202812
-
Alexey Samsonov authored
Patch by Viktor Kutuzov! llvm-svn: 202801
-
Alexey Samsonov authored
Patch by Brad King. Our add_sanitizer_rt_symbols macro reads the LOCATION property of a library to compute the location of the "lib<name>.a.syms" file to generate next to the corresponding "lib<name>.a" library file. CMake 3.0 introduces policy CMP0026 to disallow reading of the LOCATION target property from non-imported targets in favor of the more powerful $<TARGET_FILE> generator expression. Teach add_sanitizer_rt_symbols to use the $<TARGET_FILE> generator expression to compute the location of the symbols file to generate with a custom command. CMake 3.0 also adds support for generator expressions to install(FILES) so use it when available to simplify installation of the symbols file of the proper configuration. llvm-svn: 202797
-
Alexey Samsonov authored
Patch by Brad King. When using a multi-config generator with CMake, such as for VS or Xcode, the LOCATION target property value contains a placeholder such as "$(Configuration)" that is meant for substitution by the native build tool. The install(FILES) command does not understand this name and will not install the symbols file correctly when using these generators. Teach add_sanitizer_rt_symbols to read the more-specific target property LOCATION_<CONFIG> that has a per-configuration value and no placeholder. On single-configuration generators (Makefile, Ninja), CMAKE_BUILD_TYPE contains the name of the one configuration to be built. On multi-config generators (VS, Xcode), CMAKE_CONFIGURATION_TYPES contains the list of possible configurations. In the latter case, loop over the configs and add a configuration-specific install(FILES) rule for each one. Place the code block inside an if(TRUE) block so it can be made conditional in a following change without updating indentation. llvm-svn: 202796
-
Evgeniy Stepanov authored
Mirror recent cmake changes in the configure/make build system. llvm-svn: 202793
-
- Mar 03, 2014
-
-
Evgeniy Stepanov authored
llvm-svn: 202713
-
Dmitry Vyukov authored
llvm-svn: 202708
-
Dmitry Vyukov authored
llvm-svn: 202704
-
- Mar 01, 2014
-
-
Joerg Sonnenberger authored
llvm-svn: 202593
-
Joerg Sonnenberger authored
llvm-svn: 202592
-
Joerg Sonnenberger authored
Move prototypes into headers and fix a few inconsistencies. llvm-svn: 202591
-
- Feb 28, 2014
-
-
Dmitry Vyukov authored
llvm-svn: 202505
-
Dmitry Vyukov authored
llvm-svn: 202504
-
Dmitry Vyukov authored
llvm-svn: 202503
-
Dmitry Vyukov authored
llvm-svn: 202502
-
Kostya Serebryany authored
llvm-svn: 202492
-
Kostya Serebryany authored
[sanitizer] speedup deadlock detector for the case when we destroy a mutex that has never been locked llvm-svn: 202487
-
Dmitry Vyukov authored
Introduce DDetector interface between the tool and the DD itself. It will help to experiment with other DD implementation, as well as reuse DD in other tools. llvm-svn: 202485
-
Dmitry Vyukov authored
llvm-svn: 202484
-
Kostya Serebryany authored
llvm-svn: 202480
-
Kostya Serebryany authored
llvm-svn: 202476
-
Alexey Samsonov authored
llvm-svn: 202472
-
Dmitry Vyukov authored
llvm-svn: 202470
-
- Feb 27, 2014
-
-
Alexander Potapenko authored
llvm-svn: 202410
-
Dmitry Vyukov authored
llvm-svn: 202405
-
Dmitry Vyukov authored
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58066 llvm-svn: 202403
-
Alexey Samsonov authored
llvm-svn: 202402
-
Kostya Serebryany authored
[sanitizer] do not acquire a global mutex in deadlock detector when dealing with Unlock (it is essentially a thread-local operation) llvm-svn: 202401
-
Dmitry Vyukov authored
this fixes obscure false positives see the comments and the test for details llvm-svn: 202400
-
Kostya Serebryany authored
[asan] *experimental* implementation of invalid-pointer-pair detector (finds when two unrelated pointers are compared or subtracted). This implementation has both false positives and false negatives and is not tuned for performance. A bug report for a proper implementation will follow. llvm-svn: 202389
-
Timur Iskhodzhanov authored
llvm-svn: 202380
-
Dmitry Vyukov authored
llvm-svn: 202379
-