- Mar 21, 2013
-
-
Dmitry Vyukov authored
tsan: use a single background thread for memory profiler and memory flush (and later for symbolizer flush) llvm-svn: 177627
-
Richard Smith authored
comparing type_info names, since the latter have better uniqueness guarantees in practice. llvm-svn: 177618
-
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. The Darwin ubsan runtime is unchanged. For more details, see Clang change r177605. llvm-svn: 177606
-
- Mar 20, 2013
-
-
Bill Wendling authored
This function replaces the call of `atexit' from being generated in the compile units. Basically, it registers the "writeout" and "flush" functions (if present). It will generate calls to the `atexit' function for cleanups and final writeout functions, but only once. This is better than checking for `main', because a library may not have a `main' function in it. <rdar://problem/12439551> llvm-svn: 177578
-
Dmitry Vyukov authored
llvm-svn: 177526
-
Dmitry Vyukov authored
llvm-svn: 177523
-
Dmitry Vyukov authored
llvm-svn: 177522
-
Dmitry Vyukov authored
overflow is handled anyway saves memory because each thread holds 1024 mutexsets llvm-svn: 177520
-
Dmitry Vyukov authored
llvm-svn: 177519
-
Dmitry Vyukov authored
tsan: special handling of .rodata (don't try to find races, don't keep shadow, dont' put into traces) llvm-svn: 177517
-
Dmitry Vyukov authored
llvm-svn: 177513
-
Dmitry Vyukov authored
eliminat thread "dead info" altogether llvm-svn: 177512
-
Dmitry Vyukov authored
llvm-svn: 177510
-
Alexey Samsonov authored
llvm-svn: 177508
-
Dmitry Vyukov authored
256 blocks (which is 512 in reallity) seems to be too big cache, reducing the size reduces memory consumption but does not degrade performance. llvm-svn: 177502
-
Alexey Samsonov authored
[ASan] Move GetCurrentThread/SetCurrentThread from AsanThreadRegistry class into plain functions: they don't actually use registry llvm-svn: 177501
-
Dmitry Vyukov authored
llvm-svn: 177500
-
Dmitry Vyukov authored
llvm-svn: 177499
-
Evgeniy Stepanov authored
llvm-svn: 177497
-
- Mar 19, 2013
-
-
Bill Wendling authored
It may be prohibitively expensive to write out >1000 files at the same time. So we would rather emit them serially. These functions allow the GCOV implementation to register the functions that writeout the GCOV information per compile unit. At exit, they are written. <rdar://problem/12439551> llvm-svn: 177436
-
Evgeniy Stepanov authored
llvm-svn: 177407
-
Evgeniy Stepanov authored
llvm-svn: 177401
-
Evgeniy Stepanov authored
llvm-svn: 177400
-
Evgeniy Stepanov authored
llvm-svn: 177397
-
Alexey Samsonov authored
llvm-svn: 177396
-
Dmitry Vyukov authored
llvm-svn: 177395
-
Dmitry Vyukov authored
tsan: flush dead thread info earlier (when another thread is finished rather than new thread is created) llvm-svn: 177394
-
Dmitry Vyukov authored
llvm-svn: 177393
-
Dmitry Vyukov authored
llvm-svn: 177389
-
Dmitry Vyukov authored
llvm-svn: 177388
-
Dmitry Vyukov authored
llvm-svn: 177387
-
Evgeniy Stepanov authored
llvm-svn: 177384
-
Evgeniy Stepanov authored
Moved this code to sanitizer_common. llvm-svn: 177383
-
Alexey Samsonov authored
llvm-svn: 177382
-
Dmitry Vyukov authored
helps to reduce memory consumption if an atomic is used only with relaxed ops (stats) llvm-svn: 177381
-
Richard Smith authored
llvm-svn: 177363
-
- Mar 18, 2013
-
-
Bill Wendling authored
The __llvm_gcov_flush() functions only work for the local compile unit. However, when __gcov_flush() is called, the user expects all of the counters to be flushed, not just the ones in the current compile unit. This adds some library functions that register the flush functions. It also defined __gcov_flush() so that loops through that list and calls the functions. PR15191 & <rdar://problem/13167507> llvm-svn: 177337
-
Dmitry Vyukov authored
llvm-svn: 177312
-
Dmitry Vyukov authored
llvm-svn: 177292
-
Dmitry Vyukov authored
greatly reduces memory consumption llvm-svn: 177289
-