The Thumb2 Ld, St, and Preload instructions with the i12 forms should have its Inst{23}
[oota-llvm.git] / tools / llvm-config / find-cycles.pl
index 8156abd3f053bb069601306f1cb2c3e5395ed578..5cbf5b4b277609404ac224b3f29ac0ea130df951 100755 (executable)
@@ -62,6 +62,11 @@ foreach my $cycle (@CYCLES) {
         print STDERR "find-cycles.pl: Circular dependency between *.a files:\n";
         print STDERR "find-cycles.pl:   ", join(' ', @archives), "\n";
         push @modules, @archives; # WORKAROUND: Duplicate *.a files. Ick.
+    } elsif (@modules > 1) {
+        $cycles_found = $cycles_found + 1;
+        print STDERR "find-cycles.pl: Circular dependency between *.o files:\n";
+        print STDERR "find-cycles.pl:   ", join(' ', @modules), "\n";
+        push @modules, @modules; # WORKAROUND: Duplicate *.o files. Ick.
     }
 
     # Add to our output.  (@modules is already as sorted as we need it to be.)