Fix bug in initial check - when recompiling everything with llvm-native-gcc,
authorBrian Gaeke <gaeke@uiuc.edu>
Wed, 11 Feb 2004 18:52:05 +0000 (18:52 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Wed, 11 Feb 2004 18:52:05 +0000 (18:52 +0000)
you have to erase the program and re-run the linker, too, before running the
checker.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11328 91177308-0d34-0410-b5e6-96231b3b80d8

utils/check-each-file

index 7d73f30cc120917b9524cb4c778c78847d9312b6..1f6a8aa065a9c1385c584854f854810ccda09f1f 100755 (executable)
@@ -115,6 +115,8 @@ for f in $files
 do
        rm -f $f && gmake $f CC=llvm-native-gcc
 done
+rm -f $program
+$linker
 if $checker
 then
        echo "Sorry, I can't help you, $program is OK when compiled with llvm-native-gcc"