diff --git a/llvm/utils/buildit/build_llvm b/llvm/utils/buildit/build_llvm index 48d30f795f25..cc2fd088ab29 100755 --- a/llvm/utils/buildit/build_llvm +++ b/llvm/utils/buildit/build_llvm @@ -201,7 +201,8 @@ cd $SYM_DIR || exit 1 rm -rf * || exit 1 # Generate .dSYM files -find $DEST_DIR -perm -0111 -type f -print | xargs -n 1 -P ${SYSCTL} dsymutil +find $DEST_DIR -perm -0111 -type f ! \( -name '*.la' -o -name gccas -o -name gccld -o -name llvm-config \) -print \ + | xargs -n 1 -P ${SYSCTL} dsymutil # Save .dSYM files and .a archives cd $DEST_DIR || exit 1