[llvm-commits] [llvm] r75154 - /llvm/trunk/lib/CompilerDriver/Main.cpp

Sanjiv Gupta sanjiv.gupta at microchip.com
Thu Jul 9 11:06:28 PDT 2009


Author: sgupta
Date: Thu Jul  9 13:06:27 2009
New Revision: 75154

URL: http://llvm.org/viewvc/llvm-project?rev=75154&view=rev
Log:
Fixed handling of -t. It gets the prirority for temp dir name.


Modified:
    llvm/trunk/lib/CompilerDriver/Main.cpp

Modified: llvm/trunk/lib/CompilerDriver/Main.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CompilerDriver/Main.cpp?rev=75154&r1=75153&r2=75154&view=diff

==============================================================================
--- llvm/trunk/lib/CompilerDriver/Main.cpp (original)
+++ llvm/trunk/lib/CompilerDriver/Main.cpp Thu Jul  9 13:06:27 2009
@@ -38,6 +38,7 @@
         if (tempDir.createDirectoryOnDisk(true, &ErrMsg))
           throw std::runtime_error(ErrMsg);
       }
+      return tempDir;
     }
 
     // GCC 4.5-style -save-temps handling.





More information about the llvm-commits mailing list