[PATCH] D118624: [MSVC] Workaround missing search path for sanitizer headers.

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 1 09:18:04 PST 2022


rnk added inline comments.


================
Comment at: llvm/include/llvm/Support/Compiler.h:448
 # include <sanitizer/asan_interface.h>
 #else
+#ifdef __cplusplus
----------------
Please add a comment in this `#else` block that these declarations exist to support ASan with MSVC. If MSVC eventually ships asan_interface.h in their headers, we can remove this.


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

https://reviews.llvm.org/D118624



More information about the llvm-commits mailing list