diff options
author | ed <ed@FreeBSD.org> | 2010-06-15 17:08:03 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2010-06-15 17:08:03 +0000 |
commit | a5ff04df0c5f4b642a594c530f576639e26f2373 (patch) | |
tree | cf1741ab081fba2ece29e6b3366c3e9467421527 /lib/clang/libllvmcore | |
parent | 7498eef5fc5fdc5a35ecd4d307aba4aa492ae29c (diff) | |
download | FreeBSD-src-a5ff04df0c5f4b642a594c530f576639e26f2373.zip FreeBSD-src-a5ff04df0c5f4b642a594c530f576639e26f2373.tar.gz |
Remove unneeded files from the build.
I used the following command to determine which source files were
unneeded:
| for i in `find lib/clang -name '*.o'`
| do
| MATCHES="`(nm -g --defined-only $i; nm -g --defined-only \
| usr.bin/clang/clang/clang) | sed -e 's/.* //' | \
| sort | uniq -d | wc -l`"
| [ $MATCHES -eq 0 ] && echo "$i: unneeded"
| done
This should slightly improve the build times.
Diffstat (limited to 'lib/clang/libllvmcore')
-rw-r--r-- | lib/clang/libllvmcore/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/clang/libllvmcore/Makefile b/lib/clang/libllvmcore/Makefile index 9d5fab2..c8de7bb 100644 --- a/lib/clang/libllvmcore/Makefile +++ b/lib/clang/libllvmcore/Makefile @@ -5,8 +5,8 @@ LIB= llvmcore SRCDIR= lib/VMCore SRCS= AsmWriter.cpp Attributes.cpp AutoUpgrade.cpp BasicBlock.cpp \ ConstantFold.cpp Constants.cpp Core.cpp DebugLoc.cpp \ - Dominators.cpp Function.cpp GVMaterializer.cpp Globals.cpp \ - IRBuilder.cpp InlineAsm.cpp Instruction.cpp Instructions.cpp \ + Dominators.cpp Function.cpp Globals.cpp IRBuilder.cpp \ + InlineAsm.cpp Instruction.cpp Instructions.cpp \ IntrinsicInst.cpp LLVMContext.cpp LLVMContextImpl.cpp \ LeakDetector.cpp Metadata.cpp Module.cpp Pass.cpp \ PassManager.cpp PrintModulePass.cpp Type.cpp \ |