Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [Sanitizer] Use same PC threshold in slow unwinder on all platforms | Alexey Samsonov | 2013-11-13 | 1 | -2/+5 | |
| | | | | llvm-svn: 194580 | |||||
* | [Sanitizers] Share some stack walking code between Windows and Linux | Timur Iskhodzhanov | 2013-11-09 | 1 | -0/+13 | |
| | | | | | | Reviewed at http://llvm-reviews.chandlerc.com/D2126 llvm-svn: 194326 | |||||
* | [ASan] Kill use_stack_depot runtime flag and stack trace compression routines. | Alexey Samsonov | 2013-11-01 | 1 | -105/+0 | |
| | | | | llvm-svn: 193868 | |||||
* | Consistently use StackTrace::PrintStack in ASan, LSan and MSan | Alexey Samsonov | 2013-11-01 | 1 | -0/+6 | |
| | | | | llvm-svn: 193834 | |||||
* | [Sanitizer] Simplify StackTrace::PrintStack interface: prefer common flags ↵ | Alexey Samsonov | 2013-10-29 | 1 | -2/+2 | |
| | | | | | | to turn on/off the symbolization llvm-svn: 193587 | |||||
* | Overhaul the symbolizer interface. | Peter Collingbourne | 2013-10-25 | 1 | -3/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | This moves away from creating the symbolizer object and initializing the external symbolizer as separate steps. Those steps now always take place together. Sanitizers with a legacy requirement to specify their own symbolizer path should use InitSymbolizer to initialize the symbolizer with the desired path, and GetSymbolizer to access the symbolizer. Sanitizers with no such requirement (e.g. UBSan) can use GetOrInitSymbolizer with no need for initialization. The symbolizer interface has been made thread-safe (as far as I can tell) by protecting its member functions with mutexes. Finally, the symbolizer interface no longer relies on weak externals, the introduction of which was probably a mistake on my part. Differential Revision: http://llvm-reviews.chandlerc.com/D1985 llvm-svn: 193448 | |||||
* | [Sanitizer] Return implementation of StackTrace::CopyFrom to header | Alexey Samsonov | 2013-10-14 | 1 | -6/+0 | |
| | | | | llvm-svn: 192574 | |||||
* | [Sanitizer] Remove StackTrace::max_depth field | Alexey Samsonov | 2013-10-12 | 1 | -3/+2 | |
| | | | | llvm-svn: 192534 | |||||
* | [Sanitizer] Turn GetStackTrace() into StackTrace::Unwind() | Alexey Samsonov | 2013-10-12 | 1 | -2/+0 | |
| | | | | llvm-svn: 192533 | |||||
* | [Sanitizer] StackTrace: kill CopyTo and reimplement CopyFrom | Alexey Samsonov | 2013-10-11 | 1 | -0/+6 | |
| | | | | llvm-svn: 192441 | |||||
* | [Sanitizer] Simplify StackTrace::FastUnwindStack interface and fix a bug ↵ | Alexey Samsonov | 2013-10-11 | 1 | -2/+8 | |
| | | | | | | with one-frame stack traces llvm-svn: 192428 | |||||
* | Refactor the usage of strip_path_prefix option and make it more consistent ↵ | Alexey Samsonov | 2013-10-04 | 1 | -34/+11 | |
| | | | | | | across sanitizers llvm-svn: 191943 | |||||
* | [Sanitizer] Refactor symbolization interface: use class instead of several ↵ | Alexey Samsonov | 2013-09-10 | 1 | -3/+3 | |
| | | | | | | functions. Move some code around to get rid of extra source files llvm-svn: 190410 | |||||
* | [sanitizer] Change strip_path_prefix flag behavior. | Sergey Matveev | 2013-07-22 | 1 | -2/+3 | |
| | | | | | | | | Previously (in tools other than TSan) the entire prefix of the path had to mach the argument. With this change, only some suffix of the prefix has to match. This is the same way this flag works in TSan. llvm-svn: 186837 | |||||
* | [asan] fix a rare failure in fast unwinder, found by asan/clang bootstrap | Kostya Serebryany | 2013-06-18 | 1 | -0/+1 | |
| | | | | llvm-svn: 184190 | |||||
* | Use an address-of operator here to silence an MSVC warning. | Peter Collingbourne | 2013-05-27 | 1 | -1/+1 | |
| | | | | llvm-svn: 182740 | |||||
* | [nolibc] Move symbolizer to RTSanitizerCommonLibc, and make it optional ↵ | Peter Collingbourne | 2013-05-21 | 1 | -1/+1 | |
| | | | | | | using a weak symbol. llvm-svn: 182372 | |||||
* | [sanitizer] while doing fast unwinding make sure that the frame pointer is ↵ | Kostya Serebryany | 2013-04-04 | 1 | -0/+1 | |
| | | | | | | aligned; fix lint llvm-svn: 178747 | |||||
* | [libsanitizer] Unmapping the old cache partially invalidates the memory ↵ | Alexander Potapenko | 2013-03-26 | 1 | -1/+1 | |
| | | | | | | | | | | layout, so add a flag to skip cache update for cases when that's unacceptable (e.g. lsan). Patch by Sergey Matveev (earthdok@google.com) llvm-svn: 178000 | |||||
* | [Sanitizer] Change MemoryMappingLayout methods to also report memory ↵ | Alexey Samsonov | 2013-03-13 | 1 | -1/+2 | |
| | | | | | | protection flags (for future use in leak checker). Patch by Sergey Matveev. llvm-svn: 176931 | |||||
* | [Sanitizer] Try to fix infinite loop in frame pointer unwinder | Reid Kleckner | 2013-02-20 | 1 | -2/+3 | |
| | | | | | | | | Using > instead of >= ensures that each frame deref makes progress and that we eventually terminate. Issue: https://code.google.com/p/address-sanitizer/issues/detail?id=162 llvm-svn: 175661 | |||||
* | [msan] add strip_path_prefix flag; print error summary; don't crash while ↵ | Kostya Serebryany | 2013-02-07 | 1 | -0/+1 | |
| | | | | | | printing summary if debug info is missing. The tests will follow later once we establish the lit-like tests for msan. llvm-svn: 174595 | |||||
* | [asan] print a short one-line report summary after the full report. ↵ | Kostya Serebryany | 2013-02-06 | 1 | -2/+2 | |
| | | | | | | Currently, works only if symbolization happens in-process. llvm-svn: 174501 | |||||
* | [Sanitizer] Expose StackTrace::GetPreviousInstructionPc() to get PC of call ↵ | Alexey Samsonov | 2012-12-18 | 1 | -5/+4 | |
| | | | | | | instruction from return address llvm-svn: 170424 | |||||
* | [asan] two more bits for __sparc__ | Kostya Serebryany | 2012-12-03 | 1 | -0/+2 | |
| | | | | llvm-svn: 169141 | |||||
* | [asan/tsan] get rid of kPageSize completely in favor of GetPageSizeCached(). ↵ | Kostya Serebryany | 2012-11-24 | 1 | -1/+1 | |
| | | | | | | This makes the code friendly to more platforms llvm-svn: 168537 | |||||
* | Allow PopStackFrames leave the stack empty. | Evgeniy Stepanov | 2012-11-21 | 1 | -1/+1 | |
| | | | | llvm-svn: 168425 | |||||
* | [asan/tsan] do not use __WORDSIZE macro, as it is glibc-private thing. ↵ | Kostya Serebryany | 2012-11-21 | 1 | -4/+4 | |
| | | | | | | Instead, define our own SANITIZER_WORDSIZE llvm-svn: 168424 | |||||
* | [asan] more support for powerpc, patch by Peter Bergner | Kostya Serebryany | 2012-11-20 | 1 | -0/+13 | |
| | | | | llvm-svn: 168356 | |||||
* | [asan] support x32 mode in the fast stack unwinder. Patch by H.J. Lu | Kostya Serebryany | 2012-11-19 | 1 | -7/+7 | |
| | | | | llvm-svn: 168306 | |||||
* | [Sanitizer] fall back to online symbolizer if user-provided callback failed | Alexey Samsonov | 2012-10-18 | 1 | -1/+2 | |
| | | | | llvm-svn: 166177 | |||||
* | [Sanitizer] fix line width | Alexey Samsonov | 2012-10-02 | 1 | -1/+2 | |
| | | | | llvm-svn: 165009 | |||||
* | [Sanitizer/ASan] Simplify the code that prints and symbolizes stack traces. ↵ | Alexey Samsonov | 2012-10-02 | 1 | -22/+46 | |
| | | | | | | Fall back to module+offset if user-provided symbolizer failed. Use weak function __asan_symbolize instead of __asan_set_symbolize_callback in ASan interface, so that we're able to symbolize reports for errors that happen before the main() is called, for example, during module initialization. llvm-svn: 165000 | |||||
* | Add a missing const qualifier. | Evgeniy Stepanov | 2012-09-27 | 1 | -1/+1 | |
| | | | | llvm-svn: 164773 | |||||
* | [asan/tsan] use InternalScopedBuffer instead of stack arrays. Use mmap ↵ | Kostya Serebryany | 2012-08-29 | 1 | -8/+7 | |
| | | | | | | inseted of InternalAlloc in InternalScopedBuffer llvm-svn: 162834 | |||||
* | [asan] fix the cmake build (hopefully) | Kostya Serebryany | 2012-08-28 | 1 | -6/+6 | |
| | | | | llvm-svn: 162760 | |||||
* | [asan] actually doing 'svn add' helps | Kostya Serebryany | 2012-08-28 | 1 | -0/+223 | |
llvm-svn: 162759 |