[llvm-commits] [llvm] r75155 - /llvm/trunk/tools/llvmc/example/mcc16/driver/Main.cpp
Sanjiv Gupta
sanjiv.gupta at microchip.com
Thu Jul 9 11:09:26 PDT 2009
Author: sgupta
Date: Thu Jul 9 13:09:26 2009
New Revision: 75155
URL: http://llvm.org/viewvc/llvm-project?rev=75155&view=rev
Log:
By default -t is always on for mcc16 and it uses ./tmp-objs as the temp directory.
Modified:
llvm/trunk/tools/llvmc/example/mcc16/driver/Main.cpp
Modified: llvm/trunk/tools/llvmc/example/mcc16/driver/Main.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvmc/example/mcc16/driver/Main.cpp?rev=75155&r1=75154&r2=75155&view=diff
==============================================================================
--- llvm/trunk/tools/llvmc/example/mcc16/driver/Main.cpp (original)
+++ llvm/trunk/tools/llvmc/example/mcc16/driver/Main.cpp Thu Jul 9 13:09:26 2009
@@ -23,8 +23,9 @@
int main(int argc, char** argv) {
// HACK
- SaveTemps = SaveTempsEnum::Obj;
+ SaveTemps = SaveTempsEnum::Unset;
SaveTemps.setHiddenFlag(llvm::cl::Hidden);
+ TempDirname = "tmp-objs";
llvmc::ForceLinkage();
return llvmc::Main(argc, argv);
More information about the llvm-commits
mailing list