| commit | 3feda222c6fb290718ee23f585b6e07afb6559cb | [log] [tgz] |
|---|---|---|
| author | Marcin Koscielnicki <koriakin@0x04.net> | Sat Jun 18 10:10:37 2016 +0000 |
| committer | Marcin Koscielnicki <koriakin@0x04.net> | Sat Jun 18 10:10:37 2016 +0000 |
| tree | 6988a77a67614fd03986c589c000b5aeea41357e | |
| parent | 7cb30664fcc510c484224677c641187b8996cd00 [diff] |
[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