[llvm-commits] CVS: llvm/tools/gccld/Linker.cpp

Misha Brukman brukman at cs.uiuc.edu
Mon Nov 8 14:03:21 PST 2004



Changes in directory llvm/tools/gccld:

Linker.cpp updated: 1.28 -> 1.29
---
Log message:

Don't silently ignore invalid files: tell the user!


---
Diffs of the changes:  (+2 -0)

Index: llvm/tools/gccld/Linker.cpp
diff -u llvm/tools/gccld/Linker.cpp:1.28 llvm/tools/gccld/Linker.cpp:1.29
--- llvm/tools/gccld/Linker.cpp:1.28	Wed Sep  1 17:55:37 2004
+++ llvm/tools/gccld/Linker.cpp	Mon Nov  8 16:03:10 2004
@@ -345,6 +345,8 @@
                   << Pathname << "': " << ErrorMessage << "\n";
         return true;
       }
+    } else {
+      std::cerr << "Warning: invalid file `" << Pathname << "' ignored.\n";
     }
   }
 






More information about the llvm-commits mailing list