summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Unix
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2013-02-19 11:30:25 +0000
committerKostya Serebryany <kcc@google.com>2013-02-19 11:30:25 +0000
commit9f298da9bd4ad5ecaa51fc137fb670fe288950dc (patch)
tree81770ae55be1049b7608a607367812e92cb0a6d1 /llvm/lib/Support/Unix
parent3ece9beaf195950480281f131056232a66c3349a (diff)
downloadbcm5719-llvm-9f298da9bd4ad5ecaa51fc137fb670fe288950dc.tar.gz
bcm5719-llvm-9f298da9bd4ad5ecaa51fc137fb670fe288950dc.zip
[asan] instrument memory accesses with unusual sizes
This patch makes asan instrument memory accesses with unusual sizes (e.g. 5 bytes or 10 bytes), e.g. long double or packed structures. Instrumentation is done with two 1-byte checks (first and last bytes) and if the error is found __asan_report_load_n(addr, real_size) or __asan_report_store_n(addr, real_size) is called. asan-rt part Also fix lint. llvm-svn: 175508
Diffstat (limited to 'llvm/lib/Support/Unix')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud