summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* [Sanitizer] Fix OnPrint weak hook. Disable weak hooks for gotsan.Alexey Samsonov2013-04-031-6/+6
| | | | llvm-svn: 178640
* asan/tsan: change SANITIZER_GO to more general SANITIZER_SUPPORTS_WEAK_HOOKSDmitry Vyukov2013-03-261-2/+2
| | | | llvm-svn: 178009
* asan/tsan: add Printf/Report hookDmitry Vyukov2013-03-251-4/+17
| | | | | | The hook can be overriden in frontend to print to e.g. a file. llvm-svn: 177864
* Break a >80 char line.Evgeniy Stepanov2013-03-131-1/+2
| | | | llvm-svn: 176937
* [ASan] Reduce the local buffer size in Report() not to fail the check ↵Alexander Potapenko2013-03-111-2/+5
| | | | | | enforced when building TSan runtime. llvm-svn: 176804
* [ASan] Try to use a small (512 bytes) stack-local buffer in Report() for ↵Alexander Potapenko2013-03-111-13/+42
| | | | | | | | short messages, fall back to MmapOrDie() in the case of a failure. This shall eliminate most of the cryptic "ERROR: failed to mmap" messages caused by recursively calling MmapOrDie() from MmapOrDie(). llvm-svn: 176802
* Don't escape %s in printf usage message; it's not written by printf.Richard Smith2012-12-181-1/+1
| | | | llvm-svn: 170413
* [asan/tsan] do not use __WORDSIZE macro, as it is glibc-private thing. ↵Kostya Serebryany2012-11-211-1/+1
| | | | | | Instead, define our own SANITIZER_WORDSIZE llvm-svn: 168424
* [Sanitizer] replace while with internal_memset to make sure compiler won't ↵Alexey Samsonov2012-11-211-1/+6
| | | | | | replace it with library memset llvm-svn: 168422
* -fsanitize=undefined: Switch to using sanitizer_common for output. This gets ↵Richard Smith2012-11-131-14/+30
| | | | | | us much closer to not depending on any system headers. llvm-svn: 167888
* [TSan] finally remove TsanPrintf in favor of Printf from sanitizer_commonAlexey Samsonov2012-11-021-2/+2
| | | | llvm-svn: 167294
* [asan] fix the va_arg usage Kostya Serebryany2012-09-141-1/+1
| | | | llvm-svn: 163879
* [asan] add asan option log_path=PATH to let users redirect asan reports to a ↵Kostya Serebryany2012-09-141-1/+6
| | | | | | file PATH.PID instead of stderr llvm-svn: 163872
* [asan/tsan] use InternalScopedBuffer instead of stack arrays. Use mmap ↵Kostya Serebryany2012-08-291-12/+11
| | | | | | inseted of InternalAlloc in InternalScopedBuffer llvm-svn: 162834
* [asan] get rid of AsanPrintf in favor of Printf from sanitizer_commonKostya Serebryany2012-08-281-0/+9
| | | | llvm-svn: 162746
* [Sanitizer] Renaming: SNPrintf -> internal_snprintf (and move it to ↵Alexey Samsonov2012-06-191-2/+2
| | | | | | sanitizer libc) llvm-svn: 158710
* [Sanitizer] Switch to common mmap/munmap routines in ASan run-time.Alexey Samsonov2012-06-061-2/+2
| | | | llvm-svn: 158078
* [Sanitizer]: Introduce a common internal printf function. For now, also use ↵Alexey Samsonov2012-06-061-0/+185
tool-specific wrappers TsanPrintf (its output is controlled by TSan flags) and AsanPrintf (which copies its results to the ASan-private buffer). Supported formats: %[z]{d,u,x}, %s, %p. Re-write all format strings in TSan according to this format (this should have no effect on 64-bit platforms). llvm-svn: 158065
OpenPOWER on IntegriCloud