[PATCH] D51008: Enable -fsanitize=fuzzer and -fsanitize=fuzzer-no-link on Windows.

Matt Morehouse via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 20 17:13:00 PDT 2018


morehouse added a comment.

LGTM



================
Comment at: lib/Driver/ToolChains/MSVC.cpp:373
+                             TC.getCompilerRTArgString(Args, "fuzzer", false)));
+    CmdArgs.push_back(Args.MakeArgString("-debug"));
+    // Prevent the linker from padding sections we use for instrumentation
----------------
Why is `-debug` needed?


Repository:
  rC Clang

https://reviews.llvm.org/D51008





More information about the cfe-commits mailing list