[llvm-commits] CVS: llvm/tools/llvmc/CompilerDriver.cpp

Anton Korobeynikov asl at math.spbu.ru
Fri Feb 16 11:11:50 PST 2007



Changes in directory llvm/tools/llvmc:

CompilerDriver.cpp updated: 1.44 -> 1.45
---
Log message:

Add possibility to set memory limit for binaries run via libSystem. This 
is especially needed for bugpoint. This partly implements PR688: http://llvm.org/PR688 


---
Diffs of the changes:  (+2 -2)

 CompilerDriver.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/tools/llvmc/CompilerDriver.cpp
diff -u llvm/tools/llvmc/CompilerDriver.cpp:1.44 llvm/tools/llvmc/CompilerDriver.cpp:1.45
--- llvm/tools/llvmc/CompilerDriver.cpp:1.44	Wed Feb  7 17:48:32 2007
+++ llvm/tools/llvmc/CompilerDriver.cpp	Fri Feb 16 13:11:07 2007
@@ -499,14 +499,14 @@
         Timer timer(action->program.toString());
         timer.startTimer();
         int resultCode = 
-          sys::Program::ExecuteAndWait(action->program, Args,0,0,0,&ErrMsg);
+          sys::Program::ExecuteAndWait(action->program, Args,0,0,0,0, &ErrMsg);
         timer.stopTimer();
         timer.print(timer,std::cerr);
         return resultCode;
       }
       else
         return 
-          sys::Program::ExecuteAndWait(action->program, Args, 0,0,0, &ErrMsg);
+          sys::Program::ExecuteAndWait(action->program, Args, 0,0,0,0, &ErrMsg);
     }
     return 0;
   }






More information about the llvm-commits mailing list