[PATCH] D50670: Implementation of multiple loops in cxx_loop_proto

Emmett Neyman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 13 15:38:00 PDT 2018


emmettneyman created this revision.
emmettneyman added reviewers: morehouse, kcc.
Herald added a subscriber: cfe-commits.

Extended `cxx_loop_proto` to have multiple for loops. Modified `loop_proto_to_llvm` and `loop_proto_to_cxx` to handle the new protos. In `loop_proto_to_llvm`, I only translate the first ten loops from the protobuf into IR. This will keep down the runtime of each fuzzer run.


Repository:
  rC Clang

https://reviews.llvm.org/D50670

Files:
  clang/tools/clang-fuzzer/cxx_loop_proto.proto
  clang/tools/clang-fuzzer/proto-to-cxx/loop_proto_to_cxx.cpp
  clang/tools/clang-fuzzer/proto-to-llvm/loop_proto_to_llvm.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50670.160471.patch
Type: text/x-patch
Size: 5396 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180813/33129661/attachment.bin>


More information about the cfe-commits mailing list