commit | 4688261c20735f5ead2f08695acdeb727db31894 | [log] [tgz] |
---|---|---|
author | Jeffrey Yasskin <jyasskin@google.com> | Fri Feb 05 16:19:36 2010 +0000 |
committer | Jeffrey Yasskin <jyasskin@google.com> | Fri Feb 05 16:19:36 2010 +0000 |
tree | 529fc7c22add469aea913e96dca1913bc8406ded | |
parent | 63d58ebd09b8fe0b136fa87fac09d72cd4968926 [diff] |
Move --march, --mcpu, and --mattr from JIT/TargetSelect.cpp to lli.cpp. llc.cpp also defined these flags, meaning that when I linked all of LLVM's libraries into a single shared library, llc crashed on startup with duplicate flag definitions. This patch passes them through the EngineBuilder into JIT::selectTarget(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95390 91177308-0d34-0410-b5e6-96231b3b80d8