llvm.org GIT mirror llvm / cbece8c
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 Bill Wendling 7 years ago
1 changed file(s) with 8 addition(s) and 10 deletion(s). Raw diff Collapse all Expand all
436436 # Compare .o files between Phase2 and Phase3 and report which ones
437437 # differ.
438438 if [ "$do_compare" = "yes" ]; then
439 if [ "$Flavor" = "Release" -o "$Flavor" = "Release-64" ]; then
440 echo
441 echo "# Comparing Phase 2 and Phase 3 files"
442 for o in `find $llvmCore_phase2_objdir -name '*.o'` ; do
443 p3=`echo $o | sed -e 's,Phase2,Phase3,'`
444 if ! cmp --ignore-initial=16 $o $p3 > /dev/null 2>&1 ; then
445 echo "file `basename $o` differs between phase 2 and phase 3"
446 fi
447 done
448 fi
439 echo
440 echo "# Comparing Phase 2 and Phase 3 files"
441 for o in `find $llvmCore_phase2_objdir -name '*.o'` ; do
442 p3=`echo $o | sed -e 's,Phase2,Phase3,'`
443 if ! cmp --ignore-initial=16 $o $p3 > /dev/null 2>&1 ; then
444 echo "file `basename $o` differs between phase 2 and phase 3"
445 fi
446 done
449447 fi
450448 fi
451449