Alexey Samsonov
|
40d5b772e5
|
[Sanitizer] Switch to common mmap/munmap routines in ASan run-time.
llvm-svn: 158078
|
2012-06-06 16:15:07 +00:00 |
Alexey Samsonov
|
e428779dbf
|
[Sanitizer] Use common CHECK machinery. Currently each tool has to define its own CheckFailed function.
llvm-svn: 158075
|
2012-06-06 15:22:20 +00:00 |
Alexey Samsonov
|
d323f4e78e
|
[Sanitizer] Remove __attribute__((format))
llvm-svn: 158070
|
2012-06-06 13:58:39 +00:00 |
Alexey Samsonov
|
51ae983718
|
[Sanitizer]: Introduce a common internal printf function. For now, also use 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
|
2012-06-06 13:11:29 +00:00 |
Alexey Samsonov
|
ee07290628
|
[Sanitizer] Move more functions/constants to sanitizer_common.
llvm-svn: 158056
|
2012-06-06 09:26:25 +00:00 |
Alexey Samsonov
|
bc3a7e3fe2
|
[Sanitizer] add sanitizer_common.h for routines shared between TSan and ASan runtimes. Use __sanitizer::Die() in TSan.
llvm-svn: 158050
|
2012-06-06 06:47:26 +00:00 |