[llvm-commits] [llvm-gcc-4.2] r67111 - in /llvm-gcc-4.2/tags/Apple/llvmgcc42-2064-03: ./ build_gcc
Bill Wendling
isanbard at gmail.com
Tue Mar 17 15:22:49 PDT 2009
Author: void
Date: Tue Mar 17 17:22:49 2009
New Revision: 67111
URL: http://llvm.org/viewvc/llvm-project?rev=67111&view=rev
Log:
Don't strip dSYM objects.
Added:
llvm-gcc-4.2/tags/Apple/llvmgcc42-2064-03/
- copied from r67102, llvm-gcc-4.2/tags/Apple/llvmgcc42-2064-02/
Modified:
llvm-gcc-4.2/tags/Apple/llvmgcc42-2064-03/build_gcc
Modified: llvm-gcc-4.2/tags/Apple/llvmgcc42-2064-03/build_gcc
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/tags/Apple/llvmgcc42-2064-03/build_gcc?rev=67111&r1=67102&r2=67111&view=diff
==============================================================================
--- llvm-gcc-4.2/tags/Apple/llvmgcc42-2064-03/build_gcc (original)
+++ llvm-gcc-4.2/tags/Apple/llvmgcc42-2064-03/build_gcc Tue Mar 17 17:22:49 2009
@@ -513,16 +513,20 @@
# Remove debugging information from DEST_DIR.
if [ "x$LLVM_DEBUG" != "x1" ]; then
- find $DEST_DIR -perm -0111 \! -name \*.dylib \! -name fixinc.sh \
- \! -name mkheaders \! -name libstdc++.dylib -type f -print \
+ # LLVM LOCAL begin - don't strip dSYM objects
+ find $DEST_DIR -perm -0111 \! -path '*DWARF*' \! -name \*.dylib \
+ \! -name fixinc.sh \! -name mkheaders \! -name libstdc++.dylib \
+ -type f -print \
| xargs strip || exit 1
# APPLE LOCAL begin LLVM - Strip with -Sx instead of -SX
- find $DEST_DIR \( -name \*.a -or -name \*.dylib \) \
- \! -name libgcc_s.10.*.dylib -type f -print \
+ find $DEST_DIR \! -path '*DWARF*' \( -name \*.a -or -name \*.dylib \) \
+ \! -name libgcc_s.10.*.dylib \! -name libstdc++.dylib -type f \
+ -print \
| xargs strip -SX || exit 1
# APPLE LOCAL end LLVM - Strip with -Sx instead of -SX
- find $DEST_DIR -name \*.a -type f -print \
+ find $DEST_DIR \! -path '*DWARF*' -name \*.a -type f -print \
| xargs ranlib || exit 1
+ # LLVM LOCAL end - don't strip dSYM objects
fi
# APPLE LOCAL begin LLVM
More information about the llvm-commits
mailing list