[PATCH] D60589: [sanitizer_common] Expose a variadic version of the sanitizer Printf function.

Kostya Serebryany via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 24 16:09:45 PDT 2019


kcc added inline comments.


================
Comment at: compiler-rt/lib/sanitizer_common/sanitizer_printf.h:12
+
+#include <stdarg.h>
+
----------------
Well, no, that's not any better. 
We *have* to avoid std headers in most .cc files and absolutely have to avoid them 
in header files that are included into most .cc files. 

Sadly, the sanitizer run-time is not your common C++ program :( 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60589/new/

https://reviews.llvm.org/D60589





More information about the llvm-commits mailing list