commit | e954101f6602ac181a2c3accfbbad0ae51b0bf7c | [log] [tgz] |
---|---|---|
author | Alexey Samsonov <samsonov@google.com> | Wed Jun 06 13:11:29 2012 +0000 |
committer | Alexey Samsonov <samsonov@google.com> | Wed Jun 06 13:11:29 2012 +0000 |
tree | 59996ca17d614af49772a8c83e378e6829ebb212 | |
parent | e4309e8141382372465ea065e86d8f946aa99c38 [diff] |
[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). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@158065 91177308-0d34-0410-b5e6-96231b3b80d8