[ASan] Minor ASan error reporting cleanup
authorAlex Shlyapnikov <alekseys@google.com>
Mon, 9 Jul 2018 17:54:55 +0000 (17:54 +0000)
committerAlex Shlyapnikov <alekseys@google.com>
Mon, 9 Jul 2018 17:54:55 +0000 (17:54 +0000)
commit63af91574f2015651fdf3a2ea9482466e353a010
tree6886f698ecb7fcbec595f078865f1643e2304c07
parent29a07b37bf2c6ba4f312c20e5c058826178fcf9e
[ASan] Minor ASan error reporting cleanup

Summary:
- use proper Error() decorator for error messages
- refactor ASan thread id and name reporting

Reviewers: eugenis

Subscribers: kubamracek, delcypher, #sanitizers, llvm-commits

Differential Revision: https://reviews.llvm.org/D49044

llvm-svn: 336573
compiler-rt/lib/asan/asan_descriptions.cc
compiler-rt/lib/asan/asan_descriptions.h
compiler-rt/lib/asan/asan_errors.cc