r366141 - [clang-fuzzer] Remove 'setUseOrcMCJITReplacement(false)' call.
Lang Hames via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 15 15:27:57 PDT 2019
Author: lhames
Date: Mon Jul 15 15:27:57 2019
New Revision: 366141
URL: http://llvm.org/viewvc/llvm-project?rev=366141&view=rev
Log:
[clang-fuzzer] Remove 'setUseOrcMCJITReplacement(false)' call.
The default value for this option (UseMCJITReplacement) is already false, and
OrcMCJITReplacement is going to have deprecation warnings attached in LLVM 9.0.
Removing this call removes a spurious warning.
Modified:
cfe/trunk/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp
Modified: cfe/trunk/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp?rev=366141&r1=366140&r2=366141&view=diff
==============================================================================
--- cfe/trunk/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp (original)
+++ cfe/trunk/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp Mon Jul 15 15:27:57 2019
@@ -159,7 +159,6 @@ static void CreateAndRunJITFunc(const st
builder.setMAttrs(getFeatureList());
builder.setErrorStr(&ErrorMsg);
builder.setEngineKind(EngineKind::JIT);
- builder.setUseOrcMCJITReplacement(false);
builder.setMCJITMemoryManager(make_unique<SectionMemoryManager>());
builder.setOptLevel(OLvl);
builder.setTargetOptions(InitTargetOptionsFromCodeGenFlags());
More information about the cfe-commits
mailing list