[PATCH] D32264: [asan] Optimize strchr for strict_string_checks=false
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 19 19:07:39 PDT 2017
vitalybuka created this revision.
Herald added a subscriber: kubamracek.
strchr interceptor does not need to call strlen if strict_string_checks is not
enabled. Unnecessary strlen calls affect python parser performance.
https://reviews.llvm.org/D32264
Files:
lib/sanitizer_common/sanitizer_common_interceptors.inc
test/asan/TestCases/strchr_strict.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32264.95871.patch
Type: text/x-patch
Size: 3828 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170420/150d849d/attachment.bin>
More information about the llvm-commits
mailing list