[PATCH] D43423: [SimplifyCFG] Create flag to disable simplifyCFG.

Matt Morehouse via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 16 16:45:24 PST 2018


morehouse created this revision.
morehouse added a reviewer: kcc.
Herald added a subscriber: hiraditya.

When building with libFuzzer, simplifyCFG reduces the coverage signal
available to libFuzzer when trying to find new inputs.  This patch
provides a way to disable simplifyCFG when building with libFuzzer.


https://reviews.llvm.org/D43423

Files:
  clang/include/clang/Driver/CC1Options.td
  clang/include/clang/Frontend/CodeGenOptions.def
  clang/lib/CodeGen/CodeGenFunction.cpp
  clang/lib/Frontend/CompilerInvocation.cpp
  clang/test/CodeGen/no-simplify-cfg.cpp
  llvm/lib/Transforms/Utils/SimplifyCFG.cpp
  llvm/test/Transforms/SimplifyCFG/no-simplify-cfg.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43423.134772.patch
Type: text/x-patch
Size: 5807 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180217/5131b7b3/attachment.bin>


More information about the cfe-commits mailing list