Fix the clang -Werror build & make the unit tests link under Linux
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 17 Mar 2015 03:32:21 +0000 (03:32 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 17 Mar 2015 03:32:21 +0000 (03:32 +0000)
commit3dfb86b641a3d3d9cb2149d1892abe06b4e453c5
treebf41a253c91835232d00c198bb93c4dd4731a061
parentbaf1aaaf1fb7fe2f543ffe2515641dd2f5c9d635
Fix the clang -Werror build & make the unit tests link under Linux

The order of libraries passed to the linker didn't work under linux (you
need the llvm libraries first, then the lldb libraries). I modelled this
after clang's setup here. Seemed simple enough to just be consistent.

llvm-svn: 232461
lldb/scripts/Python/python-wrapper.swig
lldb/unittests/CMakeLists.txt
lldb/unittests/Host/CMakeLists.txt
lldb/unittests/Interpreter/CMakeLists.txt
lldb/unittests/Interpreter/TestArgs.cpp
lldb/unittests/Plugins/Process/Linux/CMakeLists.txt
lldb/unittests/Plugins/Process/Linux/ThreadStateCoordinatorTest.cpp
lldb/unittests/Utility/CMakeLists.txt
lldb/unittests/Utility/StringExtractorTest.cpp