[llvm-commits] CVS: llvm/tools/llvmc/CompilerDriver.cpp

Reid Spencer reid at x10sys.com
Sun Dec 12 19:01:37 PST 2004



Changes in directory llvm/tools/llvmc:

CompilerDriver.cpp updated: 1.20 -> 1.21
---
Log message:

PR351: http://llvm.cs.uiuc.edu/PR351 : \
Use sys::Path not FileUtilities to check file types

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

Index: llvm/tools/llvmc/CompilerDriver.cpp
diff -u llvm/tools/llvmc/CompilerDriver.cpp:1.20 llvm/tools/llvmc/CompilerDriver.cpp:1.21
--- llvm/tools/llvmc/CompilerDriver.cpp:1.20	Fri Dec 10 18:14:15 2004
+++ llvm/tools/llvmc/CompilerDriver.cpp	Sun Dec 12 21:01:26 2004
@@ -780,8 +780,9 @@
       if (finalPhase == LINKING) {
 
         // Insert the platform-specific system libraries to the path list
-        LibraryPaths.push_back(sys::Path::GetSystemLibraryPath1());
-        LibraryPaths.push_back(sys::Path::GetSystemLibraryPath2());
+        std::vector<sys::Path> SysLibs;
+        sys::Path::GetSystemLibraryPaths(SysLibs);
+        LibraryPaths.insert(LibraryPaths.end(), SysLibs.begin(), SysLibs.end());
 
         // Set up the linking action with llvm-ld
         Action* link = new Action();






More information about the llvm-commits mailing list