Go to file
Alexander Potapenko 1d021bff28 [libsanitizer] Run the callback on a separate stack in StopTheWorld.
Currently the callback runs on the caller's stack. If this stack
contains values that have gone out of scope, and we are not super careful, those
values can propagate into global variables (the libc sigaction() in particular
has a side effect that can lead to this). This has caused false negatives in
leak checking code.

Changes: map a separate stack space for the tracer thread. Also, move some
globals into local scope (they had no business being global anyway).

Patch by Sergey Matveev (earthdok@google.com)

llvm-svn: 178464
2013-04-01 14:38:56 +00:00
clang Fix typo. This method isn't used anywhere. 2013-03-31 20:14:24 +00:00
clang-tools-extra modularize - Fixed broken array use (asserted in tests). Renamed KindType enum. 2013-03-28 18:38:43 +00:00
compiler-rt [libsanitizer] Run the callback on a separate stack in StopTheWorld. 2013-04-01 14:38:56 +00:00
debuginfo-tests Remove IR scenario tests. 2013-03-15 20:52:10 +00:00
libclc
libcxx Test case was forming the wrong limits when size_t != unsigned long. 2013-03-29 21:22:22 +00:00
libcxxabi Bruce Mitchener: Typo fixes. 2013-02-15 15:48:49 +00:00
lld [ELF] Add dynamic hash table and get simple dynamic libraries working with Hexagon 2013-03-29 00:53:25 +00:00
lldb Elide all artificial copy constructors, because 2013-03-30 03:06:45 +00:00
llvm Remove unused typedef. 2013-04-01 13:46:15 +00:00
polly RegisterPasses: Improve comments 2013-03-23 21:35:52 +00:00