[PATCH] D17891: [sanitizer] Fix strlen assumptions in sanitizer interception code
Alexey Samsonov via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 4 11:22:42 PST 2016
samsonov added a subscriber: samsonov.
samsonov added a comment.
I think it's reasonable to make an assumption that we're intercepting strlen(), and the REAL() version works faster. Depending on the order of inclusion is not nice, for sure.
Can you use `DECLARE_REAL(SIZE_T, strlen, const char *s);` in the .inc file instead?
http://reviews.llvm.org/D17891
More information about the llvm-commits
mailing list