diff options
author | Etienne Bergeron <etienneb@google.com> | 2016-07-21 16:06:54 +0000 |
---|---|---|
committer | Etienne Bergeron <etienneb@google.com> | 2016-07-21 16:06:54 +0000 |
commit | aa76a0cf914fe768f0a31b525693abd541b19480 (patch) | |
tree | 234606fc01efafc729cc599a2574084ce49cd5f1 /llvm/lib/CodeGen/IntrinsicLowering.cpp | |
parent | 3c0d8d22fe67cf96cf6bac8b2f31d1fd8e30af18 (diff) | |
download | bcm5719-llvm-aa76a0cf914fe768f0a31b525693abd541b19480.tar.gz bcm5719-llvm-aa76a0cf914fe768f0a31b525693abd541b19480.zip |
[compiler-rt] Fix memmove/memcpy overlap detection on windows
Summary:
The memcpy and memmove functions are the same on windows.
The overlap detection logic is incorrect.
printf-1 test:
```
stdin>:2:114: note: possible intended match here
==877412==ERROR: AddressSanitizer: memcpy-param-overlap: memory ranges [0x0000002bf2a8,0x0000002bf2ad) and [0x0000002bf2a9, 0x0000002bf2ae) overlap
``` ^
Reviewers: rnk
Subscribers: llvm-commits, wang0109, kubabrecka, chrisha
Differential Revision: https://reviews.llvm.org/D22610
llvm-svn: 276299
Diffstat (limited to 'llvm/lib/CodeGen/IntrinsicLowering.cpp')
0 files changed, 0 insertions, 0 deletions