summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_linux_libcdep.cc
Commit message (Collapse)AuthorAge
* tsan: use verbosity flag in sanitizer_common code directlyDmitry Vyukov2013-10-15
| | | | | | | | now it's available from common_flags() git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192705 91177308-0d34-0410-b5e6-96231b3b80d8
* [Sanitizer] Remove StackTrace::max_depth fieldAlexey Samsonov2013-10-12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192534 91177308-0d34-0410-b5e6-96231b3b80d8
* [Sanitizer] Refactor symbolization interface: use class instead of several ↵Alexey Samsonov2013-09-10
| | | | | | functions. Move some code around to get rid of extra source files git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190410 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert r185536 as it neither fixes any memory leaks, nor is it necessary ↵Timur Iskhodzhanov2013-09-03
| | | | | | (see the example from "man pthread_getattr_np") git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@189810 91177308-0d34-0410-b5e6-96231b3b80d8
* It appears that glibc 2.13 has the same thread descriptor size as 2.11,Chandler Carruth2013-08-18
| | | | | | | | | | bump up the inflection point to 2.14. If someone can tell me how to actually figure out value for this, that would be awesome. Anyways, this takes me to one ASan failure, one LSan failure, and three TSan failures for 'check-all' on Linux. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@188635 91177308-0d34-0410-b5e6-96231b3b80d8
* [asan] Raise thread stack size limit.Evgeniy Stepanov2013-07-30
| | | | | | | It's a sanity check, mostly, and we've seen threads with >256Mb stack. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@187408 91177308-0d34-0410-b5e6-96231b3b80d8
* [sanitizer] Fix memory leak in sanitizer_common discovered by LeakSanitizer.Sergey Matveev2013-07-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185536 91177308-0d34-0410-b5e6-96231b3b80d8
* [sanitizer] Use the correct macro to check glibc version.Sergey Matveev2013-07-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@185324 91177308-0d34-0410-b5e6-96231b3b80d8
* [sanitizer] Fix kThreadDescriptorSize for glibc <= 2.11.Sergey Matveev2013-06-03
| | | | | | Address issue reported by Greg Fitzgerald. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@183098 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix #if guards in sanitizer_common codeAlexey Samsonov2013-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182918 91177308-0d34-0410-b5e6-96231b3b80d8
* [sanitizer] Change the way GetThreadStackAndTls() obtains the thread ↵Sergey Matveev2013-05-29
| | | | | | | | | | 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
* [nolibc] Move libc-dependent sanitizer_linux.cc code to ↵Peter Collingbourne2013-05-20
sanitizer_linux_libcdep.cc. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182292 91177308-0d34-0410-b5e6-96231b3b80d8