| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
MultiSource/Applications/minisat in the JIT.
Note that the libsystem stuff should ideally never modify errno. :(
llvm-svn: 36508
|
|
|
|
|
|
| |
disappears before we get to calling the exit function.
llvm-svn: 34953
|
|
|
|
|
|
|
|
|
|
|
| |
reading bytecode.
2. The interpreter can delete the ModuleProvider and replace it with
another so don't depend on it being around after the EE is created.
3. Don't just run llvm_shutdown on exit but actually delete the EE as well.
This cleans up a vast amount of memory (but not all) that EE retained
through exit.
llvm-svn: 34888
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
api's look like this:
ModuleProvider *getBytecodeModuleProvider(
const std::string &Filename, ///< Name of file to be read
BCDecompressor_t *BCDC = Compressor::decompressToNewBuffer,
std::string* ErrMsg = 0, ///< Optional error message holder
BytecodeHandler* H = 0 ///< Optional handler for reader events
);
This is ugly, but allows a client to say:
getBytecodeModuleProvider("foo", 0);
If they do this, there is no dependency on the compression libraries, saving
codesize.
llvm-svn: 34012
|
|
|
|
|
|
|
|
| |
Adjust to changes in Module interface:
getMainFunction() -> getFunction("main")
getNamedFunction(X) -> getFunction(X)
llvm-svn: 33922
|
|
|
|
|
|
|
| |
as the jit intercepts exit calls to implement atexit handlers. This
fixes SingleSource/UnitTests/2003-05-14-AtExit
llvm-svn: 33008
|
|
|
|
| |
llvm-svn: 32978
|
|
|
|
|
|
| |
Convert signed integer types to signless.
llvm-svn: 32790
|
|
|
|
|
|
| |
instead of returning from main.
llvm-svn: 32414
|
|
|
|
|
|
| |
With this change, I can now move -stats to print when llvm_shutdown is called.
llvm-svn: 32250
|
|
|
|
| |
llvm-svn: 30318
|
|
|
|
|
|
| |
Rafael Esp?ndola for pointing this out
llvm-svn: 30100
|
|
|
|
| |
llvm-svn: 30091
|
|
|
|
|
|
|
| |
Remove exception throwing/handling from lib/Bytecode, and adjust its users
to compensate for changes in the interface.
llvm-svn: 29875
|
|
|
|
| |
llvm-svn: 29457
|
|
|
|
| |
llvm-svn: 29434
|
|
|
|
| |
llvm-svn: 29035
|
|
|
|
| |
llvm-svn: 27037
|
|
|
|
|
|
|
| |
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.
llvm-svn: 26620
|
|
|
|
| |
llvm-svn: 24732
|
|
|
|
|
|
| |
commandline.
llvm-svn: 24730
|
|
|
|
|
|
| |
from .bc files.
llvm-svn: 24575
|
|
|
|
|
|
| |
Attempting to run it will find lli's main, which isn't the desired effect.
llvm-svn: 24569
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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_64, gcc will
not extend the zero to 64 bits, thus allowing the upper 32 bits to be
random junk.
The new END_WITH_NULL macro may be used to annotate a such a function
so that GCC (version 4 or newer) will detect the use of un-casted zero
at compile time.
llvm-svn: 23888
|
|
|
|
| |
llvm-svn: 21428
|
|
|
|
|
|
|
|
|
|
| |
* Place a try/catch block around the entire tool to Make sure std::string
exceptions are caught and printed before exiting the tool.
* Make sure we catch unhandled exceptions at the top level so that we don't
abort with a useless message but indicate than an unhandled exception was
generated.
llvm-svn: 19192
|
|
|
|
| |
llvm-svn: 18333
|
|
|
|
| |
llvm-svn: 17168
|
|
|
|
| |
llvm-svn: 17155
|
|
|
|
| |
llvm-svn: 17136
|
|
|
|
| |
llvm-svn: 16992
|
|
|
|
| |
llvm-svn: 16982
|
|
|
|
| |
llvm-svn: 16950
|
|
|
|
| |
llvm-svn: 16894
|
|
|
|
| |
llvm-svn: 16851
|
|
|
|
|
|
|
|
| |
Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.
llvm-svn: 16137
|
|
|
|
|
|
| |
independence of the tool.
llvm-svn: 16092
|
|
|
|
| |
llvm-svn: 16091
|
|
|
|
| |
llvm-svn: 15479
|
|
|
|
| |
llvm-svn: 14739
|
|
|
|
| |
llvm-svn: 14623
|
|
|
|
| |
llvm-svn: 13813
|
|
|
|
|
|
| |
options and Makefiles)
llvm-svn: 11827
|
|
|
|
|
|
| |
the tool.
llvm-svn: 11633
|
|
|
|
| |
llvm-svn: 10631
|
|
|
|
| |
llvm-svn: 10614
|
|
|
|
| |
llvm-svn: 10613
|
|
|
|
|
|
|
|
| |
* Inline callMain function
* Remove hack from the ExecutionEngines where the 'run' method would automatically
run atExit functions. Fixing this requires explicitly calling exit if main returns
llvm-svn: 10611
|
|
|
|
| |
llvm-svn: 10607
|
|
|
|
|
|
| |
Use a clearer error message when we fail to load a program.
llvm-svn: 10414
|