diff options
| author | Marcin Koscielnicki <koriakin@0x04.net> | 2016-06-18 10:10:37 +0000 |
|---|---|---|
| committer | Marcin Koscielnicki <koriakin@0x04.net> | 2016-06-18 10:10:37 +0000 |
| commit | 3feda222c6fb290718ee23f585b6e07afb6559cb (patch) | |
| tree | 6988a77a67614fd03986c589c000b5aeea41357e /llvm/lib/Transforms/Utils/BypassSlowDivision.cpp | |
| parent | 7cb30664fcc510c484224677c641187b8996cd00 (diff) | |
| download | bcm5719-llvm-3feda222c6fb290718ee23f585b6e07afb6559cb.tar.gz bcm5719-llvm-3feda222c6fb290718ee23f585b6e07afb6559cb.zip | |
[sanitizers] Disable target-specific lowering of string functions.
CodeGen has hooks that allow targets to emit specialized code instead
of calls to memcmp, memchr, strcpy, stpcpy, strcmp, strlen, strnlen.
When ASan/MSan/TSan/ESan is in use, this sidesteps its interceptors, resulting
in uninstrumented memory accesses. To avoid that, make these sanitizers
mark the calls as nobuiltin.
Differential Revision: http://reviews.llvm.org/D19781
llvm-svn: 273083
Diffstat (limited to 'llvm/lib/Transforms/Utils/BypassSlowDivision.cpp')
0 files changed, 0 insertions, 0 deletions

