Changes in directory llvm/tools/llvm-ld:
llvm-ld.cpp updated: 1.48 -> 1.49 --- 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: (+4 -4) llvm-ld.cpp | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) Index: llvm/tools/llvm-ld/llvm-ld.cpp diff -u llvm/tools/llvm-ld/llvm-ld.cpp:1.48 llvm/tools/llvm-ld/llvm-ld.cpp:1.49 --- llvm/tools/llvm-ld/llvm-ld.cpp:1.48 Thu Feb 8 21:08:06 2007 +++ llvm/tools/llvm-ld/llvm-ld.cpp Fri Feb 16 13:11:07 2007 @@ -244,7 +244,7 @@ args.push_back(InputFilename.c_str()); args.push_back(0); - return sys::Program::ExecuteAndWait(llc,&args[0],0,0,0,&ErrMsg); + return sys::Program::ExecuteAndWait(llc, &args[0], 0, 0, 0, 0, &ErrMsg); } /// GenerateCFile - generates a C source file from the specified bytecode file. @@ -261,7 +261,7 @@ args.push_back(OutputFile.c_str()); args.push_back(InputFile.c_str()); args.push_back(0); - return sys::Program::ExecuteAndWait(llc, &args[0],0,0,0,&ErrMsg); + return sys::Program::ExecuteAndWait(llc, &args[0], 0, 0, 0, 0, &ErrMsg); } /// GenerateNative - generates a native object file from the @@ -342,7 +342,7 @@ // Run the compiler to assembly and link together the program. int R = sys::Program::ExecuteAndWait( - gcc, &args[0], (const char**)clean_env,0,0,&ErrMsg); + gcc, &args[0], (const char**)clean_env, 0, 0, 0, &ErrMsg); delete [] clean_env; return R; } @@ -516,7 +516,7 @@ args[1] = RealBytecodeOutput.c_str(); args[2] = tmp_output.c_str(); args[3] = 0; - if (0 == sys::Program::ExecuteAndWait(prog, args, 0,0,0, &ErrMsg)) { + if (0 == sys::Program::ExecuteAndWait(prog, args, 0,0,0,0, &ErrMsg)) { if (tmp_output.isBytecodeFile()) { sys::Path target(RealBytecodeOutput); target.eraseFromDisk(); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits