Also compare the built dragonegg objects between phases 2 and 3.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142608 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan Sands 2011-10-20 20:14:18 +00:00
parent fbc0dec7b4
commit 19595dc4d0

View File

@ -478,7 +478,8 @@ for Flavor in $Flavors ; do
# Compare .o files between Phase2 and Phase3 and report which ones differ.
echo
echo "# Comparing Phase 2 and Phase 3 files"
for o in `find $llvmCore_de_phase2_objdir -name '*.o'` ; do
for o in `find $llvmCore_de_phase2_objdir -name '*.o'` \
`find $dragonegg_phase2_objdir -name '*.o'` ; do
p3=`echo $o | sed -e 's,Phase2,Phase3,'`
if ! cmp --ignore-initial=16 $o $p3 > /dev/null 2>&1 ; then
echo "file `basename $o` differs between dragonegg phase 2 and phase 3"