As Eric pointed out, even a Debug build should be equal. Leave the flag that can turn off comparisons though.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153927 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2012-04-03 03:27:43 +00:00
parent 9dd16d41a2
commit cbece8c2a6

View File

@ -437,16 +437,14 @@ for Flavor in $Flavors ; do
# Compare .o files between Phase2 and Phase3 and report which ones # Compare .o files between Phase2 and Phase3 and report which ones
# differ. # differ.
if [ "$do_compare" = "yes" ]; then if [ "$do_compare" = "yes" ]; then
if [ "$Flavor" = "Release" -o "$Flavor" = "Release-64" ]; then echo
echo echo "# Comparing Phase 2 and Phase 3 files"
echo "# Comparing Phase 2 and Phase 3 files" for o in `find $llvmCore_phase2_objdir -name '*.o'` ; do
for o in `find $llvmCore_phase2_objdir -name '*.o'` ; do p3=`echo $o | sed -e 's,Phase2,Phase3,'`
p3=`echo $o | sed -e 's,Phase2,Phase3,'` if ! cmp --ignore-initial=16 $o $p3 > /dev/null 2>&1 ; then
if ! cmp --ignore-initial=16 $o $p3 > /dev/null 2>&1 ; then echo "file `basename $o` differs between phase 2 and phase 3"
echo "file `basename $o` differs between phase 2 and phase 3" fi
fi done
done
fi
fi fi
fi fi