[llvm-branch-commits] [llvm-branch] r242860 - Merging r242721:
Hans Wennborg
hans at hanshq.net
Tue Jul 21 17:48:18 PDT 2015
Author: hans
Date: Tue Jul 21 19:48:18 2015
New Revision: 242860
URL: http://llvm.org/viewvc/llvm-project?rev=242860&view=rev
Log:
Merging r242721:
------------------------------------------------------------------------
r242721 | dim | 2015-07-20 15:07:27 -0700 (Mon, 20 Jul 2015) | 4 lines
Since BSD cmp(1) does not support the --ignore-initial option, use the
more portable 3rd and 4th arguments to skip the first 16 bytes during
the comparison of Phase2 and Phase3 objects.
------------------------------------------------------------------------
Modified:
llvm/branches/release_37/ (props changed)
llvm/branches/release_37/utils/release/test-release.sh
Propchange: llvm/branches/release_37/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue Jul 21 19:48:18 2015
@@ -1,3 +1,3 @@
/llvm/branches/Apple/Pertwee:110850,110961
/llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706
+/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721
Modified: llvm/branches/release_37/utils/release/test-release.sh
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/utils/release/test-release.sh?rev=242860&r1=242859&r2=242860&view=diff
==============================================================================
--- llvm/branches/release_37/utils/release/test-release.sh (original)
+++ llvm/branches/release_37/utils/release/test-release.sh Tue Jul 21 19:48:18 2015
@@ -470,8 +470,8 @@ for Flavor in $Flavors ; do
# Substitute 'Phase2' for 'Phase3' in the Phase 2 object file in
# case there are build paths in the debug info. On some systems,
# sed adds a newline to the output, so pass $p3 through sed too.
- if ! cmp --ignore-initial=16 <(sed -e 's,Phase2,Phase3,g' $p2) \
- <(sed -e '' $p3) > /dev/null 2>&1 ; then
+ if ! cmp -s <(sed -e 's,Phase2,Phase3,g' $p2) <(sed -e '' $p3) \
+ 16 16 ; then
echo "file `basename $p2` differs between phase 2 and phase 3"
fi
done
More information about the llvm-branch-commits
mailing list