[PATCH] D49526: Updated llvm-proto-fuzzer to execute the compiled code

Peter Collingbourne via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 26 11:44:46 PDT 2018


pcc added inline comments.


================
Comment at: clang/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp:147
+  builder.setUseOrcMCJITReplacement(false);
+  builder.setMCJITMemoryManager(make_unique<SectionMemoryManager>());
+  builder.setOptLevel(OLvl);
----------------
morehouse wrote:
> This uses `llvm:make_unique`, which was written when LLVM used C++11.  But since LLVM now uses C++14, I think we should use `std::make_unique` instead.
LLVM doesn't use C++14 yet.


Repository:
  rC Clang

https://reviews.llvm.org/D49526





More information about the cfe-commits mailing list