DescriptionBoth llc.cpp and JIT/TargetSelect.cpp defined these flags, meaning that when I link all of LLVM's libraries into a single shared library, llc crashes on startup with duplicate flag definitions.
This patch moves the flag definitions into lli.cpp and passes them through the EngineBuilder into JIT::selectTarget().
Patch Set 1 #Patch Set 2 : Moved the flags down to lli instead. #
MessagesTotal messages: 9
|