- Jul 15, 2014
-
-
Dmitry Vyukov authored
There is now a more common functionality in the form of called_from_lib suppressions. llvm-svn: 213057
-
Dmitry Vyukov authored
There are no known usages anymore, so one less thing to support. llvm-svn: 213056
-
Evgeniy Stepanov authored
llvm-svn: 213054
-
Timur Iskhodzhanov authored
[ASan] Only define macros in asan_init_version.h, move the __asan_init declaration back to asan_interface_internal.h This fixes the issues we've uncovered after landing r212815. Reviewed at http://reviews.llvm.org/D4500 llvm-svn: 213053
-
- Jul 14, 2014
-
-
Ehsan Akhgari authored
llvm-svn: 212979
-
Timur Iskhodzhanov authored
This is a test case for r212815. llvm-svn: 212959
-
Kostya Serebryany authored
llvm-svn: 212952
-
Kostya Serebryany authored
llvm-svn: 212951
-
Kostya Serebryany authored
llvm-svn: 212944
-
Timur Iskhodzhanov authored
This is a follow-up to r212807 llvm-svn: 212943
-
Evgeniy Stepanov authored
llvm-svn: 212937
-
Evgeniy Stepanov authored
This was done by calling __cxa_demangle directly, which is bad when c++abi library is instrumented. The following line always contains the demangled name (when running with a symbolizer) anyway. llvm-svn: 212929
-
Evgeniy Stepanov authored
Fixed in r212872. llvm-svn: 212926
-
- Jul 12, 2014
-
-
Alexey Samsonov authored
Currently ASan instrumentation pass creates a string with global name for each instrumented global (to include global names in the error report). Global name is already mangled at this point, and we may not be able to demangle it at runtime (e.g. there is no __cxa_demangle on Android). Instead, create a string with fully qualified global name in Clang, and pass it to ASan instrumentation pass in llvm.asan.globals metadata. If there is no metadata for some global, ASan will use the original algorithm. This fixes https://code.google.com/p/address-sanitizer/issues/detail?id=264. llvm-svn: 212872
-
Alexey Samsonov authored
Demangle names of involved globals. Print a more consistent summary line. llvm-svn: 212857
-
- Jul 11, 2014
-
-
Kostya Serebryany authored
llvm-svn: 212823
-
Timur Iskhodzhanov authored
This fixes '___asan_init_v4 already defined' errors when linking some of Chromium DLLs. Looks like one of the DLL is using a .lib produced while linking another DLL and it exploded after r212699. I'm trying to come up with a small testcase... llvm-svn: 212815
-
Timur Iskhodzhanov authored
llvm-svn: 212809
-
Timur Iskhodzhanov authored
Reviewed at http://reviews.llvm.org/D4471 llvm-svn: 212807
-
Evgeniy Stepanov authored
llvm-svn: 212801
-
Evgeniy Stepanov authored
Our versions are not exactly as fast as libc's, and MSan uses them heavily (even compared to other sanitizers). This will break if libc version of mem* are instrumented, but they never are, and if they are, we should be able to fix it on libc side. llvm-svn: 212799
-
Evgeniy Stepanov authored
llvm-svn: 212798
-
Diego Novillo authored
This is a minor fix to two tsan tests that were expecting the wrong column information. Now that clang emits column information by default in its debugging output, the tests had started failing. llvm-svn: 212779
-
- Jul 10, 2014
-
-
Alexey Samsonov authored
llvm-svn: 212749
-
Evgeniy Stepanov authored
Fast path was never triggered when called from __msan_poison. llvm-svn: 212715
-
Evgeniy Stepanov authored
llvm-svn: 212704
-
Timur Iskhodzhanov authored
Reviewed at http://reviews.llvm.org/D4459 llvm-svn: 212699
-
Tim Northover authored
Without some mention of armv6m in a subdirectory of builtins, the make code doesn't even know that armv6m exists and is something it should be looking for in the platform-specific Makefiles. This means that none of the functions listed actually get built and we end up with an almost entirely empty libclang_rt.a for armv6m. Unfortunately, the assembly code in the usual arm directory has no hope of running on armv6m, which only supports Thumb-1 (not even ARM mode), so adding it there won't work. Realistically, we probably *will* want to put any optimised versions in a separate directory, so creating it now is harmless. rdar://problem/17613576 llvm-svn: 212696
-
Viktor Kutuzov authored
Differential Revision: http://reviews.llvm.org/D4418 llvm-svn: 212693
-
Viktor Kutuzov authored
Differential Revision: http://reviews.llvm.org/D4420 llvm-svn: 212691
-
Viktor Kutuzov authored
Differential Revision: http://reviews.llvm.org/D4229 llvm-svn: 212690
-
Alexey Samsonov authored
llvm-svn: 212665
-
Alexey Samsonov authored
Patch by Kuba Brecka! llvm-svn: 212664
-
Alexey Samsonov authored
Otherwise, it can be accidentally redefined when we build specific sanitizer runtime. This definition should be provided only once - when we build sanitizer_common library. llvm-svn: 212663
-
- Jul 09, 2014
-
-
Alexey Samsonov authored
llvm-svn: 212642
-
- Jul 08, 2014
-
-
Dmitry Vyukov authored
don't reset s->addr as well llvm-svn: 212565
-
Alexey Samsonov authored
They cause "check-tsan" command to hang. Details in r212532 review thread. llvm-svn: 212562
-
Dmitry Vyukov authored
JVM actually moves memory between overlapping ranges. llvm-svn: 212560
-
Evgeniy Stepanov authored
llvm-svn: 212534
-
Kostya Serebryany authored
The tsan's deadlock detector has been used in Chromium for a while; it found a few real bugs and reported no false positives. So, it's time to give it a bit more exposure. llvm-svn: 212533
-