diff options
author | Kostya Serebryany <kcc@google.com> | 2014-08-29 01:01:32 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2014-08-29 01:01:32 +0000 |
commit | 4a9187a8105416b17349d4b589d073fe62a106eb (patch) | |
tree | 57493fc67d09e083d66edbdf023235b8783036ad /llvm/lib/Support/TimeValue.cpp | |
parent | 4ee2675dfea34926a75dfb61f9ced6a79c7d7eb5 (diff) | |
download | bcm5719-llvm-4a9187a8105416b17349d4b589d073fe62a106eb.tar.gz bcm5719-llvm-4a9187a8105416b17349d4b589d073fe62a106eb.zip |
call __asan_load_cxx_array_cookie when loading array cookie in asan mode.
Summary:
The current implementation of asan cookie is incorrect:
we add nosanitize metadata to the cookie load, but the metadata may be lost
and we will instrument the load from poisoned memory.
This change replaces the load with a call to __asan_load_cxx_array_cookie (r216692)
Reviewers: rsmith
Reviewed By: rsmith
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D5111
llvm-svn: 216702
Diffstat (limited to 'llvm/lib/Support/TimeValue.cpp')
0 files changed, 0 insertions, 0 deletions