[asan] Use atomic_uintptr_t instead of atomic_uint64_t in SuppressErrorReport.
authorYury Gribov <y.gribov@samsung.com>
Thu, 10 Dec 2015 11:07:19 +0000 (11:07 +0000)
committerYury Gribov <y.gribov@samsung.com>
Thu, 10 Dec 2015 11:07:19 +0000 (11:07 +0000)
commit90a36c5ba132d95b03f78a09f2e47779948517a0
tree7e1872329f4d016e8199a00572971b106978a116
parent86de80db37692cc3a789b89c752a2fb527e839f8
[asan] Use atomic_uintptr_t instead of atomic_uint64_t in SuppressErrorReport.

Some targets (e.g. Mips) don't have 64-bit atomics, so using atomic_uint64_t
leads to build failures. Use atomic_uintptr_t to avoid such errors.

Patch by Max Ostapenko.

llvm-svn: 255242
compiler-rt/lib/asan/asan_report.cc