[cfe-commits] r145973 - /cfe/trunk/lib/Frontend/CompilerInstance.cpp

Douglas Gregor dgregor at apple.com
Tue Dec 6 14:05:29 PST 2011


Author: dgregor
Date: Tue Dec  6 16:05:29 2011
New Revision: 145973

URL: http://llvm.org/viewvc/llvm-project?rev=145973&view=rev
Log:
Use absolute paths for temporary module map files

Modified:
    cfe/trunk/lib/Frontend/CompilerInstance.cpp

Modified: cfe/trunk/lib/Frontend/CompilerInstance.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CompilerInstance.cpp?rev=145973&r1=145972&r2=145973&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/CompilerInstance.cpp (original)
+++ cfe/trunk/lib/Frontend/CompilerInstance.cpp Tue Dec  6 16:05:29 2011
@@ -1024,7 +1024,7 @@
     int FD;
     if (llvm::sys::fs::unique_file(TempModuleMapFileName.str(), FD, 
                                    TempModuleMapFileName,
-                                   /*makeAbsolute=*/false)
+                                   /*makeAbsolute=*/true)
           != llvm::errc::success)
       return;
 





More information about the cfe-commits mailing list