build-llvm: Enable building LLDB

This commit is contained in:
Martin Storsjö committed 2019-12-28 13:59:42 +02:00
1 parent 0d08c6ab18
commit de510f07b5
2 files changed
+22 -5

No files matched your search

+12 -2
View File
@@ -38,7 +38,7 @@ MINGW*)
esac
cd bin
for i in bugpoint c-index-test clang-* diagtool dsymutil git-clang-format hmaptool ld64.lld llc lli llvm-* obj2yaml opt sancov sanstats scan-build scan-view verify-uselistorder wasm-ld yaml2obj libclang.dll LTO.dll *Remarks.dll *.bat; do
for i in bugpoint c-index-test clang-* diagtool dsymutil git-clang-format hmaptool ld64.lld llc lldb-* lli llvm-* obj2yaml opt sancov sanstats scan-build scan-view verify-uselistorder wasm-ld yaml2obj libclang.dll LTO.dll *Remarks.dll *.bat; do
basename=$i
if [ -n "$EXEEXT" ]; then
# Some in the list are expanded globs, some are plain names we list.
@@ -74,6 +74,8 @@ for i in bugpoint c-index-test clang-* diagtool dsymutil git-clang-format hmapto
rm $i
fi
;;
lldb|lldb-server)
;;
*)
if [ -f $i ]; then
rm $i
@@ -106,5 +108,13 @@ cd include
rm -rf clang clang-c lld llvm llvm-c
cd ..
cd lib
rm -rf lib*.a *.so* *.dylib* cmake
for i in lib*.a *.so* *.dylib* cmake; do
case $i in
liblldb*)
;;
*)
rm -rf $i
;;
esac
done
cd ..