Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [ASan] Print mmap errno/GetLastError in a readable and consistent way | Timur Iskhodzhanov | 2014-03-19 | 1 | -6/+9 | |
| | | | | | | Reviewed at http://llvm-reviews.chandlerc.com/D3107 llvm-svn: 204218 | |||||
* | Avoid doing any work when unwinding stack traces with 0 or 1 frame | Alexey Samsonov | 2014-03-04 | 1 | -0/+1 | |
| | | | | llvm-svn: 202837 | |||||
* | [asan] Fix Windows build. | Evgeniy Stepanov | 2014-02-11 | 1 | -0/+5 | |
| | | | | llvm-svn: 201154 | |||||
* | [ASan/Win] Fall back to stdout if we can't print the reports to stderr | Timur Iskhodzhanov | 2014-02-04 | 1 | -6/+41 | |
| | | | | llvm-svn: 200804 | |||||
* | tsan: fix windows build | Dmitry Vyukov | 2014-02-04 | 1 | -2/+0 | |
| | | | | llvm-svn: 200778 | |||||
* | [ASan] Implement __sanitizer::InstallDeadlySignalHandlers() and ↵ | Alexander Potapenko | 2014-01-31 | 1 | -1/+2 | |
| | | | | | | __asan::AsanOnSIGSEGV() on Windows. llvm-svn: 200554 | |||||
* | [ASan] Move the SIGSEGV/SIGBUS handling to sanitizer_common | Alexander Potapenko | 2014-01-31 | 1 | -0/+9 | |
| | | | | | | | This change is a part of refactoring intended to have common signal handling behavior in all tools. This particular CL moves InstallSignalHandlers() into sanitizer_common (making it InstallDeadlySignalHandlers()), but doesn't enable default signal handlers for any tool other than ASan. llvm-svn: 200542 | |||||
* | [ASan] Move the sigaltstack() bits to sanitizer_common. | Alexander Potapenko | 2014-01-28 | 1 | -0/+8 | |
| | | | | | | | This change is a part of refactoring intended to have common signal handling behavior in all tools. Note that this particular change doesn't enable use_sigaltstack support in every tool. llvm-svn: 200310 | |||||
* | [asan] add flag uar_noreserve to use noreserve mmap for fake stack. ↵ | Kostya Serebryany | 2013-12-13 | 1 | -0/+5 | |
| | | | | | | uar_noreserve=1 will save some memory but also negatively affect performance llvm-svn: 197233 | |||||
* | [ASan] Fix StackTrace::SlowUnwindStack on Windows | Timur Iskhodzhanov | 2013-12-10 | 1 | -0/+3 | |
| | | | | llvm-svn: 196894 | |||||
* | [ASan] Use ExitProcess rather than _exit on Windows to avoid calling global ↵ | Timur Iskhodzhanov | 2013-11-26 | 1 | -2/+2 | |
| | | | | | | dtors etc llvm-svn: 195723 | |||||
* | Remove a FIXME now that I can't reproduce the problem | Timur Iskhodzhanov | 2013-11-09 | 1 | -2/+0 | |
| | | | | llvm-svn: 194331 | |||||
* | [Sanitizers] Share some stack walking code between Windows and Linux | Timur Iskhodzhanov | 2013-11-09 | 1 | -13/+6 | |
| | | | | | | Reviewed at http://llvm-reviews.chandlerc.com/D2126 llvm-svn: 194326 | |||||
* | [Sanitizer] Presumable fix stack trace unwinding on Windows | Alexey Samsonov | 2013-11-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 194195 | |||||
* | [Sanitizer] Call Windows unwinder 'slow' and share StackTrace::Unwind across ↵ | Alexey Samsonov | 2013-11-07 | 1 | -5/+1 | |
| | | | | | | all platforms. No functionality change. llvm-svn: 194193 | |||||
* | [Sanitizer] Remove StackTrace::max_depth field | Alexey Samsonov | 2013-10-12 | 1 | -2/+1 | |
| | | | | llvm-svn: 192534 | |||||
* | [Sanitizer] Turn GetStackTrace() into StackTrace::Unwind() | Alexey Samsonov | 2013-10-12 | 1 | -7/+5 | |
| | | | | llvm-svn: 192533 | |||||
* | [Sanitizer] Refactor symbolization interface: use class instead of several ↵ | Alexey Samsonov | 2013-09-10 | 1 | -0/+5 | |
| | | | | | | functions. Move some code around to get rid of extra source files llvm-svn: 190410 | |||||
* | sanitizers: Make sure Visual Studio gets error reports | Reid Kleckner | 2013-09-05 | 1 | -0/+18 | |
| | | | | | | | | | Visual Studio appears to close stderr before launching a non-console win32 program. This means we don't see any sanitizer reports. If stderr printing fails, call OutputDebugStringA to get the reports into the Visual Studio debugger console. llvm-svn: 190030 | |||||
* | [asan] Hopefully un-break the RTL on Windows | Timur Iskhodzhanov | 2013-09-03 | 1 | -1/+2 | |
| | | | | llvm-svn: 189821 | |||||
* | [Sanitizer] Add the way to find binary in PATH | Alexey Samsonov | 2013-09-03 | 1 | -0/+4 | |
| | | | | llvm-svn: 189799 | |||||
* | [ASan] Use less shadow on Win 32-bit | Timur Iskhodzhanov | 2013-07-16 | 1 | -0/+6 | |
| | | | | llvm-svn: 186393 | |||||
* | tsan: fix merge bug | Dmitry Vyukov | 2013-06-10 | 1 | -4/+0 | |
| | | | | llvm-svn: 183648 | |||||
* | tsan: fix windows crash (incorrect stack boundaries) | Dmitry Vyukov | 2013-06-10 | 1 | -0/+11 | |
| | | | | llvm-svn: 183646 | |||||
* | tsan: fix windows mingw build | Dmitry Vyukov | 2013-06-10 | 1 | -1/+5 | |
| | | | | llvm-svn: 183644 | |||||
* | [nolibc] Move all platforms to internal_getpid. | Peter Collingbourne | 2013-05-17 | 1 | -1/+1 | |
| | | | | | | | | | | Before, we had an unused internal_getpid function for Linux, and a platform-independent GetPid function. To make the naming conventions consistent for syscall-like functions, the GetPid syscall wrapper in sanitizer_posix.cc is moved to sanitizer_mac.cc, and GetPid is renamed to internal_getpid, bringing the Linux variant into use. llvm-svn: 182132 | |||||
* | Try to fix Windows build too | Peter Collingbourne | 2013-05-08 | 1 | -5/+5 | |
| | | | | llvm-svn: 181457 | |||||
* | [nolibc] Change internal syscall API to remove reliance on libc's errno. | Peter Collingbourne | 2013-05-08 | 1 | -7/+9 | |
| | | | | | | | | | | | | | This change moves to a model where the error value of a system call is potentially contained in the return value itself rather than being implicit in errno. The helper function internal_iserror can be used to extract the error value from a return value. On platforms other than Linux/x86_64 this still uses errno, but other platforms are free to port their error handling to this new model. Differential Revision: http://llvm-reviews.chandlerc.com/D756 llvm-svn: 181436 | |||||
* | [sanitizer] Move GetStackTrace from ASan to sanitizer_common. | Sergey Matveev | 2013-05-08 | 1 | -1/+29 | |
| | | | | llvm-svn: 181424 | |||||
* | [sanitizer] Move GetThreadStackAndTls from TSan to sanitizer_common. | Sergey Matveev | 2013-05-07 | 1 | -0/+10 | |
| | | | | | | | | 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). llvm-svn: 181322 | |||||
* | Add a GetTid() implementation for Windows | Timur Iskhodzhanov | 2013-03-25 | 1 | -1/+7 | |
| | | | | llvm-svn: 177927 | |||||
* | [sanitizer] Replace more platform checks with SANITIZER_ constants. | Evgeniy Stepanov | 2013-03-19 | 1 | -1/+4 | |
| | | | | llvm-svn: 177400 | |||||
* | [Sanitizer] Add default constructor for BlockingMutex | Alexey Samsonov | 2013-03-14 | 1 | -0/+6 | |
| | | | | llvm-svn: 177072 | |||||
* | [Sanitizer] fix compilation for Windows | Alexey Samsonov | 2013-03-14 | 1 | -2/+2 | |
| | | | | llvm-svn: 177054 | |||||
* | [Sanitizer] Write a slightly better implementation of GetEnv() function on ↵ | Alexey Samsonov | 2013-03-14 | 1 | -11/+30 | |
| | | | | | | Windows llvm-svn: 177051 | |||||
* | [sanitizer] Move GetTlsSize code from TSan to sanitizer_common. | Evgeniy Stepanov | 2013-03-13 | 1 | -0/+7 | |
| | | | | llvm-svn: 176938 | |||||
* | [Sanitizer] Implement BlockingMutex::CheckLocked() | Alexey Samsonov | 2013-03-11 | 1 | -0/+4 | |
| | | | | llvm-svn: 176805 | |||||
* | [Sanitizer] use raw syscall instead of _exit() function on Linux | Alexey Samsonov | 2013-02-20 | 1 | -4/+4 | |
| | | | | llvm-svn: 175622 | |||||
* | [Sanitizer] Make temporary filename depend on user ID | Alexey Samsonov | 2013-02-18 | 1 | -0/+4 | |
| | | | | llvm-svn: 175424 | |||||
* | [ASan] Switch Windows to allocator v2, also fixing some build errors | Timur Iskhodzhanov | 2013-02-08 | 1 | -0/+5 | |
| | | | | llvm-svn: 174707 | |||||
* | asan/tsan: fix failing CHECK on windows | Dmitry Vyukov | 2013-02-04 | 1 | -4/+2 | |
| | | | | llvm-svn: 174319 | |||||
* | [Sanitizer] extend internal libc with stat/fstat/lstat functions | Alexey Samsonov | 2013-02-04 | 1 | -0/+12 | |
| | | | | llvm-svn: 174316 | |||||
* | asan/tsan: fix compilation errors/bugs on Windows where long is 32-bit even ↵ | Dmitry Vyukov | 2013-02-04 | 1 | -2/+2 | |
| | | | | | | in 64-bit mode llvm-svn: 174312 | |||||
* | [Sanitizer] use u32 instead of mode_t, which is defined in Darwin headers | Alexey Samsonov | 2013-02-01 | 1 | -1/+1 | |
| | | | | llvm-svn: 174189 | |||||
* | [Sanitizer] make internal_open have the same interface as libc version | Alexey Samsonov | 2013-02-01 | 1 | -1/+9 | |
| | | | | llvm-svn: 174187 | |||||
* | asan: fix windows build | Dmitry Vyukov | 2013-01-14 | 1 | -0/+1 | |
| | | | | llvm-svn: 172415 | |||||
* | asan/tsan: move blocking mutex from asan to sanitizer_common | Dmitry Vyukov | 2013-01-14 | 1 | -0/+37 | |
| | | | | llvm-svn: 172380 | |||||
* | [Sanitizer] add missing header on Windows | Alexey Samsonov | 2012-12-19 | 1 | -0/+1 | |
| | | | | llvm-svn: 170514 | |||||
* | [Sanitizer] implement internal_isatty on Windows | Alexey Samsonov | 2012-12-19 | 1 | -1/+1 | |
| | | | | llvm-svn: 170507 | |||||
* | [asan] fix windows build | Kostya Serebryany | 2012-12-13 | 1 | -1/+1 | |
| | | | | llvm-svn: 170101 |