summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CompilerDriver/Main.cpp
diff options
context:
space:
mode:
authorSanjiv Gupta <sanjiv.gupta@microchip.com>2009-07-09 18:06:27 +0000
committerSanjiv Gupta <sanjiv.gupta@microchip.com>2009-07-09 18:06:27 +0000
commit093e9ed866fccd87b108e043d40b031452129dd0 (patch)
tree2d2ecc609775abcbed9d92c9f00bb97e2f581ea0 /llvm/lib/CompilerDriver/Main.cpp
parent0504e0a2222b7c39d72c1a698a0ccedd9780b4cb (diff)
downloadbcm5719-llvm-093e9ed866fccd87b108e043d40b031452129dd0.tar.gz
bcm5719-llvm-093e9ed866fccd87b108e043d40b031452129dd0.zip
Fixed handling of -t. It gets the prirority for temp dir name.
llvm-svn: 75154
Diffstat (limited to 'llvm/lib/CompilerDriver/Main.cpp')
-rw-r--r--llvm/lib/CompilerDriver/Main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CompilerDriver/Main.cpp b/llvm/lib/CompilerDriver/Main.cpp
index c6e4e1415a0..86863dcae2c 100644
--- a/llvm/lib/CompilerDriver/Main.cpp
+++ b/llvm/lib/CompilerDriver/Main.cpp
@@ -38,6 +38,7 @@ namespace {
if (tempDir.createDirectoryOnDisk(true, &ErrMsg))
throw std::runtime_error(ErrMsg);
}
+ return tempDir;
}
// GCC 4.5-style -save-temps handling.
OpenPOWER on IntegriCloud