[llvm] r258354 - Fix build warning.
Evgeniy Stepanov via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 20 14:02:08 PST 2016
Author: eugenis
Date: Wed Jan 20 16:02:07 2016
New Revision: 258354
URL: http://llvm.org/viewvc/llvm-project?rev=258354&view=rev
Log:
Fix build warning.
error: field 'CCMgr' will be initialized after field 'IndirectStubsMgr' [-Werror,-Wreorder]
: DL(TM.createDataLayout()), CCMgr(std::move(CCMgr)),
Modified:
llvm/trunk/lib/ExecutionEngine/Orc/OrcCBindingsStack.h
Modified: llvm/trunk/lib/ExecutionEngine/Orc/OrcCBindingsStack.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/Orc/OrcCBindingsStack.h?rev=258354&r1=258353&r2=258354&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/Orc/OrcCBindingsStack.h (original)
+++ llvm/trunk/lib/ExecutionEngine/Orc/OrcCBindingsStack.h Wed Jan 20 16:02:07 2016
@@ -89,8 +89,9 @@ public:
OrcCBindingsStack(TargetMachine &TM,
std::unique_ptr<CompileCallbackMgr> CCMgr,
IndirectStubsManagerBuilder IndirectStubsMgrBuilder)
- : DL(TM.createDataLayout()), CCMgr(std::move(CCMgr)),
+ : DL(TM.createDataLayout()),
IndirectStubsMgr(IndirectStubsMgrBuilder()),
+ CCMgr(std::move(CCMgr)),
ObjectLayer(),
CompileLayer(ObjectLayer, orc::SimpleCompiler(TM)),
CODLayer(CompileLayer,
More information about the llvm-commits
mailing list