]> granicus.if.org Git - clang/commitdiff
Use absolute paths for temporary module map files
authorDouglas Gregor <dgregor@apple.com>
Tue, 6 Dec 2011 22:05:29 +0000 (22:05 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 6 Dec 2011 22:05:29 +0000 (22:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145973 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Frontend/CompilerInstance.cpp

index 6a060e036fbf8e75e40e7e6036bd17a7695faa5b..d3d33e6f7c8a8d2f2b6ab0ac5dcbe6bc5d62d443 100644 (file)
@@ -1024,7 +1024,7 @@ static void compileModule(CompilerInstance &ImportingInstance,
     int FD;
     if (llvm::sys::fs::unique_file(TempModuleMapFileName.str(), FD, 
                                    TempModuleMapFileName,
-                                   /*makeAbsolute=*/false)
+                                   /*makeAbsolute=*/true)
           != llvm::errc::success)
       return;