[cfe-commits] r67837 - /cfe/trunk/lib/Driver/Driver.cpp

Daniel Dunbar daniel at zuster.org
Fri Mar 27 07:26:47 PDT 2009


Author: ddunbar
Date: Fri Mar 27 09:26:33 2009
New Revision: 67837

URL: http://llvm.org/viewvc/llvm-project?rev=67837&view=rev
Log:
Driver: -print-libgcc-file-name was searching wrong path list.

Modified:
    cfe/trunk/lib/Driver/Driver.cpp

Modified: cfe/trunk/lib/Driver/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Driver.cpp?rev=67837&r1=67836&r2=67837&view=diff

==============================================================================
--- cfe/trunk/lib/Driver/Driver.cpp (original)
+++ cfe/trunk/lib/Driver/Driver.cpp Fri Mar 27 09:26:33 2009
@@ -294,7 +294,7 @@
   }
 
   if (C.getArgs().hasArg(options::OPT_print_libgcc_file_name)) {
-    llvm::outs() << GetProgramPath("libgcc.a", TC, true).toString() << "\n";
+    llvm::outs() << GetFilePath("libgcc.a", TC).toString() << "\n";
     return false;
   }
 





More information about the cfe-commits mailing list