[llvm-commits] CVS: llvm/tools/lli/lli.cpp

2007-05-06 Thread Chris Lattner
Changes in directory llvm/tools/lli: lli.cpp updated: 1.72 -> 1.73 --- Log message: use the new MemoryBuffer interfaces to simplify error reporting in clients. --- Diffs of the changes: (+1 -5) lli.cpp |6 +- 1 files changed, 1 insertion(+), 5 deletions(-) Index: llvm/tools/lli/l

[llvm-commits] CVS: llvm/tools/lli/lli.cpp

2007-04-27 Thread Chris Lattner
Changes in directory llvm/tools/lli: lli.cpp updated: 1.69 -> 1.70 --- Log message: reset errno to zero on entry to the application's main function. This fixes MultiSource/Applications/minisat in the JIT. Note that the libsystem stuff should ideally never modify errno. :( --- Diffs of th

[llvm-commits] CVS: llvm/tools/lli/lli.cpp

2007-03-05 Thread Reid Spencer
Changes in directory llvm/tools/lli: lli.cpp updated: 1.68 -> 1.69 --- Log message: Obtain the exit function before execution just in case the module disappears before we get to calling the exit function. --- Diffs of the changes: (+7 -5) lli.cpp | 12 +++- 1 files changed, 7 ins

[llvm-commits] CVS: llvm/tools/lli/lli.cpp

2007-03-03 Thread Reid Spencer
Changes in directory llvm/tools/lli: lli.cpp updated: 1.67 -> 1.68 --- Log message: 1. Handle errors around the ModuleProvider. This is necessary since it is reading bytecode. 2. The interpreter can delete the ModuleProvider and replace it with another so don't depend on it being around

[llvm-commits] CVS: llvm/tools/lli/lli.cpp

2007-02-07 Thread Chris Lattner
Changes in directory llvm/tools/lli: lli.cpp updated: 1.66 -> 1.67 --- Log message: push bytecode decompressor out through APIs. Now the bytecode reader api's look like this: ModuleProvider *getBytecodeModuleProvider( const std::string &Filename, ///< Name of file to be read BCDecompress

[llvm-commits] CVS: llvm/tools/lli/lli.cpp

2007-02-05 Thread Reid Spencer
Changes in directory llvm/tools/lli: lli.cpp updated: 1.65 -> 1.66 --- Log message: For PR411: http://llvm.org/PR411 : Adjust to changes in Module interface: getMainFunction() -> getFunction("main") getNamedFunction(X) -> getFunction(X) --- Diffs of the changes: (+1 -1) lli.cpp |2 +-

[llvm-commits] CVS: llvm/tools/lli/lli.cpp

2007-01-07 Thread Chris Lattner
Changes in directory llvm/tools/lli: lli.cpp updated: 1.64 -> 1.65 --- Log message: fix atexit. This is an overcomplex way of calling exit, but it is required, as the jit intercepts exit calls to implement atexit handlers. This fixes SingleSource/UnitTests/2003-05-14-AtExit --- Diffs of the

Re: [llvm-commits] CVS: llvm/tools/lli/lli.cpp

2007-01-07 Thread Reid Spencer
Chris, This patch breaks: SingleSource/UnitTests/2003-05-14-AtExit for sure and possibly: External/SPEC/CINT2000/252.eon/252.eon Please revert or fix. Reid. On Sun, 2007-01-07 at 00:43 -0600, Chris Lattner wrote: > > Changes in directory llvm/tools/lli: > > lli.cpp updated: 1.63 -> 1.64

[llvm-commits] CVS: llvm/tools/lli/lli.cpp

2007-01-07 Thread Chris Lattner
Changes in directory llvm/tools/lli: lli.cpp updated: 1.63 -> 1.64 --- Log message: this is an overcomplex way to call exit :) --- Diffs of the changes: (+1 -12) lli.cpp | 13 + 1 files changed, 1 insertion(+), 12 deletions(-) Index: llvm/tools/lli/lli.cpp diff -u llvm/tool

[llvm-commits] CVS: llvm/tools/lli/lli.cpp

2006-12-30 Thread Reid Spencer
Changes in directory llvm/tools/lli: lli.cpp updated: 1.62 -> 1.63 --- Log message: For PR950: http://llvm.org/PR950 : Convert signed integer types to signless. --- Diffs of the changes: (+2 -2) lli.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/tools/lli/l

[llvm-commits] CVS: llvm/tools/lli/lli.cpp

2006-12-05 Thread Chris Lattner
Changes in directory llvm/tools/lli: lli.cpp updated: 1.60 -> 1.61 --- Log message: make all llvm tools call llvm_shutdown when they exit, static'ify some stuff. With this change, I can now move -stats to print when llvm_shutdown is called. --- Diffs of the changes: (+2 -0) lli.cpp |2

[llvm-commits] CVS: llvm/tools/lli/lli.cpp

2006-09-13 Thread Chris Lattner
Changes in directory llvm/tools/lli: lli.cpp updated: 1.59 -> 1.60 --- Log message: add a new (hidden) -disable-core-files option --- Diffs of the changes: (+9 -0) lli.cpp |9 + 1 files changed, 9 insertions(+) Index: llvm/tools/lli/lli.cpp diff -u llvm/tools/lli/lli.cpp:1.59

[llvm-commits] CVS: llvm/tools/lli/lli.cpp

2006-08-25 Thread Reid Spencer
Changes in directory llvm/tools/lli: lli.cpp updated: 1.58 -> 1.59 --- Log message: For PR797: http://llvm.org/PR797 : Remove exception throwing/handling from lib/Bytecode, and adjust its users to compensate for changes in the interface. --- Diffs of the changes: (+3 -4) lli.cpp |7 +++

[llvm-commits] CVS: llvm/tools/lli/lli.cpp

2006-08-01 Thread Chris Lattner
Changes in directory llvm/tools/lli: lli.cpp updated: 1.57 -> 1.58 --- Log message: Fix the build on case-sensitive filesystems :( --- Diffs of the changes: (+1 -1) lli.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/tools/lli/lli.cpp diff -u llvm/tools/lli/lli.

[llvm-commits] CVS: llvm/tools/lli/lli.cpp

2006-08-01 Thread Jim Laskey
Changes in directory llvm/tools/lli: lli.cpp updated: 1.56 -> 1.57 --- Log message: Introducing plugable register allocators and instruction schedulers. --- Diffs of the changes: (+1 -0) lli.cpp |1 + 1 files changed, 1 insertion(+) Index: llvm/tools/lli/lli.cpp diff -u llvm/tools/ll

[llvm-commits] CVS: llvm/tools/lli/lli.cpp

2006-03-23 Thread Jeff Cohen
Changes in directory llvm/tools/lli: lli.cpp updated: 1.55 -> 1.56 --- Log message: Get JIT/Interpreter working on Windows again. --- Diffs of the changes: (+2 -1) lli.cpp |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/tools/lli/lli.cpp diff -u llvm/tools/lli/lli.

[llvm-commits] CVS: llvm/tools/lli/lli.cpp

2006-03-08 Thread Chris Lattner
Changes in directory llvm/tools/lli: lli.cpp updated: 1.54 -> 1.55 --- Log message: Fit to 80 columns. Add support for running static ctor/dtors that aren't handled by __main. This fixes programs with the JIT and the new CFE, such as HBD. --- Diffs of the changes: (+14 -7) lli.cpp | 21 +

[llvm-commits] CVS: llvm/tools/lli/lli.cpp

2005-12-15 Thread Chris Lattner
Changes in directory llvm/tools/lli: lli.cpp updated: 1.53 -> 1.54 --- Log message: rename option --- Diffs of the changes: (+1 -1) lli.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/tools/lli/lli.cpp diff -u llvm/tools/lli/lli.cpp:1.53 llvm/tools/lli/lli.cpp:1

[llvm-commits] CVS: llvm/tools/lli/lli.cpp

2005-12-15 Thread Chris Lattner
Changes in directory llvm/tools/lli: lli.cpp updated: 1.52 -> 1.53 --- Log message: provide an option to override the target triple in a module from the commandline. --- Diffs of the changes: (+7 -1) lli.cpp |8 +++- 1 files changed, 7 insertions(+), 1 deletion(-) Index: llvm/t

[llvm-commits] CVS: llvm/tools/lli/lli.cpp

2005-12-02 Thread Chris Lattner
Changes in directory llvm/tools/lli: lli.cpp updated: 1.51 -> 1.52 --- Log message: Revert my previous patch which broke due to lazy streaming of functions from .bc files. --- Diffs of the changes: (+1 -1) lli.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/tool

[llvm-commits] CVS: llvm/tools/lli/lli.cpp

2005-12-01 Thread Chris Lattner
Changes in directory llvm/tools/lli: lli.cpp updated: 1.50 -> 1.51 --- Log message: If a module has a main, but it is defined externally, refuse to run it. Attempting to run it will find lli's main, which isn't the desired effect. --- Diffs of the changes: (+1 -1) lli.cpp |2 +- 1 fil

[llvm-commits] CVS: llvm/tools/lli/lli.cpp

2005-10-22 Thread Jeff Cohen
Changes in directory llvm/tools/lli: lli.cpp updated: 1.49 -> 1.50 --- Log message: When a function takes a variable number of pointer arguments, with a zero pointer marking the end of the list, the zero *must* be cast to the pointer type. An un-cast zero is a 32-bit int, and at least on x86_6