[PATCH] Moar string interceptors: strstr, strcasestr, strcspn, strpbrk

Maria Guseva m.guseva at samsung.com
Wed Jan 21 09:18:56 PST 2015


================
Comment at: test/sanitizer_common/TestCases/strcasestr.c:3
@@ +2,3 @@
+
+// There's no interceptor for strcasestr on Windows
+// XFAIL: win32
----------------
glider wrote:
> Why? Is that because strcasestr() is unavailable on Windows?
Yes. I've referenced printf-*.c tests as printf is not intercepted on Windows. Althouth there is a difference because strcasestr is unavailable at all on Windows so it won't even compile. What do you think is more correct way to exclude it?

http://reviews.llvm.org/D6056

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list