[PATCH] D12311: [compiler-rt] Add common interceptor for wcrtomb.

Evgeniy Stepanov via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 25 11:10:50 PDT 2015


eugenis accepted this revision.
eugenis added a comment.
This revision is now accepted and ready to land.

LGTM


================
Comment at: lib/sanitizer_common/sanitizer_common_interceptors.inc:2742
@@ +2741,3 @@
+  SIZE_T res = REAL(wcrtomb)(dest, src, ps);
+  if (res != (SIZE_T) - 1 && dest) {
+    SIZE_T write_cnt = res;
----------------
wow that's weird formatting. Could you fix it here and above?



http://reviews.llvm.org/D12311





More information about the llvm-commits mailing list