summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/sanitizer_common/sanitizer_unwind_posix_libcdep.cc
Commit message (Collapse)AuthorAgeFilesLines
* One more change required to build the sanitizers for iOS.Chris Bieneman2015-06-241-158/+0
| | | | | | | | | | | | | | Summary: _Unwind_Backtrace is not available on iOS, so we should ifdef out the posix implementations of BufferedStackTrace::SlowUnwindStack and BufferedStackTrace::SlowUnwindStackWithContext on iOS. Reviewers: samsonov Reviewed By: samsonov Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D10696 llvm-svn: 240586
* Working on reconciling out-of-tree patches to compiler-rt for building for iOS.Chris Bieneman2015-06-231-1/+1
| | | | | | | | | | | | | | | | | | | Summary: This is one of many changes needed for compiler-rt to get it building on iOS. Darwin doesn't have _Unwind_VRS_Get, instead use _Unwind_GetIP directly. Note: this change does not enable building for iOS, as there are more changes to come. Reviewers: kubabrecka, bogner, samsonov Reviewed By: samsonov Subscribers: samsonov, llvm-commits Differential Revision: http://reviews.llvm.org/D10516 llvm-svn: 240470
* [msan] Better use-after-free reports.Evgeniy Stepanov2015-01-221-3/+3
| | | | | | | | | | | | | By attaching an extra integer tag to heap origins, we are able to distinguish between uninits - created by heap allocation, - created by heap deallocation (i.e. use-after-free), - created by __msan_allocated_memory call, - etc. See https://code.google.com/p/memory-sanitizer/issues/detail?id=35. llvm-svn: 226821
* [sanitizer] Extend a comment in SlowUnwind.Evgeniy Stepanov2014-11-141-1/+6
| | | | | | This better explains a change in r221520. llvm-svn: 222000
* [sanitizer] Never remove the last frame off the stack trace.Evgeniy Stepanov2014-11-071-1/+1
| | | | | | It can only make it worse. llvm-svn: 221520
* [Sanitizer] Make StackTrace a lightweight reference to array of PCs, andAlexey Samsonov2014-10-261-8/+8
| | | | | | | | | | | | | | | | | | | | | | introduce a BufferedStackTrace class, which owns this array. Summary: This change splits __sanitizer::StackTrace class into a lightweight __sanitizer::StackTrace, which doesn't own array of PCs, and BufferedStackTrace, which owns it. This would allow us to simplify the interface of StackDepot, and eventually merge __sanitizer::StackTrace with __tsan::StackTrace. Test Plan: regression test suite. Reviewers: kcc, dvyukov Reviewed By: dvyukov Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D5985 llvm-svn: 220635
* [libsanitizer] Make sanitizer_unwind_posix.cc a libcdep source file.Alexander Potapenko2014-09-011-0/+153
Guard the source with #if SANITIZER_POSIX to fix compilation on Windows. use it only in llvm-svn: 216882
OpenPOWER on IntegriCloud