commit | 697a22bf050e81a6d94fdc0201a0c46215454e6a | [log] [tgz] |
---|---|---|
author | Alexey Samsonov <samsonov@google.com> | Wed Oct 24 09:19:11 2012 +0000 |
committer | Alexey Samsonov <samsonov@google.com> | Wed Oct 24 09:19:11 2012 +0000 |
tree | 0380fd7af54cf46201af794660a9d5a08dd37cbc | |
parent | f8168925de9cd0758135d4084ce33e2843aae74f [diff] |
[ASan] Due to data races, ASan malloc stats are inaccurate, which may cause certain ASan interface functions returning negative values (casted to unsigned). Return a reasonable value if such a case is detected. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166548 91177308-0d34-0410-b5e6-96231b3b80d8