History log of /external/compiler-rt/lib/sanitizer_common/tests/sanitizer_linux_test.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
816bdb76f98febeb68456e4b570f2c09f2013451 30-May-2013 Alexey Samsonov <samsonov@google.com> Fix #if guards in sanitizer_common code

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182918 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/tests/sanitizer_linux_test.cc
4c086441ff9d06e53fa941671781008d453dba49 29-May-2013 Sergey Matveev <earthdok@google.com> [sanitizer] Change the way GetThreadStackAndTls() obtains the thread descriptor address.

Instead of using arch_prctl(ARCH_GET_FS), read the address from the
tread descriptor itself. This lets us avoid sandboxing issues. Also,
GetThreadStackAndTls() can now be implemented on i386.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182853 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/tests/sanitizer_linux_test.cc
f931da85ce8668751628ded926ecad013c5d6f1a 15-May-2013 Kostya Serebryany <kcc@google.com> [asan] fix powerpc build and one test; fix lint

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181881 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/tests/sanitizer_linux_test.cc
3de0086409d143a612a54a7a0ed809e286656188 14-May-2013 Sergey Matveev <earthdok@google.com> [sanitizer] LibraryNameIs in sanitizer_linux

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181787 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/tests/sanitizer_linux_test.cc
a615b26e3e3c2da0b2f950f506f6c2c220430c19 14-May-2013 Sergey Matveev <earthdok@google.com> [sanitizer] Minor fixes in sanitizer_common tests.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181786 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/tests/sanitizer_linux_test.cc
24323de08fa8850712d56621bff29dbbbd0285a9 07-May-2013 Sergey Matveev <earthdok@google.com> [sanitizer] Move GetThreadStackAndTls from TSan to sanitizer_common.

Move this function to sanitizer_common because LSan uses it too. Also, fix a bug
where the TLS range reported for main thread was off by the size of the thread
descriptor from libc (TSan doesn't care much, but for LSan it's critical).

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181322 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/tests/sanitizer_linux_test.cc
ff7c14f911463db91b574533f62eb847a2e08b1c 23-Apr-2013 Alexey Samsonov <samsonov@google.com> Revert r180082 and add a test for SetEnv function

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180098 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/tests/sanitizer_linux_test.cc
827d4ef8b76760ef8c58612d916b8f53081bf368 14-Mar-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] Fix compiler warnings and style issues in sanitizer_common tests. Use -Werror=sign-compare when building them.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177077 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/tests/sanitizer_linux_test.cc
3d048541c6fd5a52217707ec9799489100dd7c98 14-Mar-2013 Alexander Potapenko <glider@google.com> [libsanitizer] fixed a bug in ThreadLister tests where we forgot to terminate one thread

Patch by Sergey Matveev (earthdok@google.com)


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177068 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/tests/sanitizer_linux_test.cc
32602c528aad37f3e37c83b9a638740eb18e30f5 14-Mar-2013 Alexander Potapenko <glider@google.com> [libsanitizer] Fixed incorrect handling of pre-existing threads in ThreadLister test.
Also, extended the test to check that ThreadLister::Reset() works as intended.

Patch by Sergey Matveev (earthdok@google.com)


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177060 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/tests/sanitizer_linux_test.cc
5c217b6a61cc7a577f5fa4063d5be97d8c3062f0 28-Feb-2013 Alexey Samsonov <samsonov@google.com> [Sanitizer] Relax ThreadLister tests to allow possible pre-existing threads. Do proper mutex destruction. Patch by Sergey Matveev

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176249 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/tests/sanitizer_linux_test.cc
6fb47af2d2d305adbfc3d41bea589d1527a364a9 27-Feb-2013 Kostya Serebryany <kcc@google.com> add Linux syscall wrappers and ThreadLister to sanitizer_common

ThreadLister is a Linux-specific class for obtaining the thread IDs of a process from procfs (/proc/<pid>/task/). It will be used by leak checking code.
Also add several syscall wrappers which will be required by the same code that uses ThreadLister, but are not used in ThreadLister itself.
Patch by Sergey Matveev


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176179 91177308-0d34-0410-b5e6-96231b3b80d8
/external/compiler-rt/lib/sanitizer_common/tests/sanitizer_linux_test.cc