| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 76786
|
|
|
|
|
|
| |
and abort()/exit() -> llvm_report_error().
llvm-svn: 75363
|
|
|
|
| |
llvm-svn: 74931
|
|
|
|
| |
llvm-svn: 73912
|
|
|
|
|
|
| |
interpreter mode" when it's not.
llvm-svn: 68937
|
|
|
|
|
|
|
|
|
|
|
|
| |
there.
This changes the interpreter to use libffi. After this patch, the interpreter
will barely be able to call any external functions if built on a system without
libffi installed (just enough to pass 'make check' really). But with libffi,
we can now call any function that isn't variadic or taking a struct or vector
parameter (but pointer to struct is fine). Patch by Alexei Svitkine!
llvm-svn: 63723
|
|
|
|
| |
llvm-svn: 62777
|
|
|
|
| |
llvm-svn: 62616
|
|
|
|
|
|
|
|
|
|
|
| |
This requires a rebuild of 'configure' itself. I will be committing that next, but
built with the wrong version of autoconf. Somebody who has the right one, please update
it.
As a side-note, because of the way autoconf works, all built tools will link against
libffi, not just lli. If you know how to fix this, please let me know ...
llvm-svn: 62553
|
|
|
|
|
|
| |
Patch by Samuel Tardieu.
llvm-svn: 57291
|
|
|
|
|
|
|
| |
warning. There wasn't actually a problem here, because the contents of
the string are known.
llvm-svn: 54385
|
|
|
|
|
|
| |
annoying warnings.
llvm-svn: 47367
|
|
|
|
| |
llvm-svn: 47363
|
|
|
|
| |
llvm-svn: 46514
|
|
|
|
| |
llvm-svn: 45418
|
|
|
|
| |
llvm-svn: 45034
|
|
|
|
|
|
| |
not support it.
llvm-svn: 44914
|
|
|
|
|
|
|
| |
Make lli interpreter correctly call external functions sin()/cos(),
__cxa_guard_acquire() and __cxa_guard_release().
llvm-svn: 44910
|
|
|
|
|
|
| |
get it to compile.
llvm-svn: 44791
|
|
|
|
|
|
| |
things, it wasn't designed to handle.
llvm-svn: 40608
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ManagedStatic control.
This commit fixes two things. One is a pair of VStudio compiler errors stemming from variables
which defined within the for loop statement and also within the body of the for loop. I fixed these
by renaming one of the two variables. Additionally, I've made the Function*->ExFunc map in
ExternalFunctions.cpp a ManagedStatic object, so that cleanup will be done on llvm_shutdown. In repeated
uses of the interpreter, where the same Function* address may get used for completely differnet functions,
this was causing a crash.
llvm-svn: 40558
|
|
|
|
|
|
|
| |
turn "putchar" calls into _IO_putc calls which is a lower-level interface.
This patch allows these calls to be executed by lli in interpreter mode.
llvm-svn: 37254
|
|
|
|
|
|
| |
users.
llvm-svn: 36305
|
|
|
|
|
|
|
|
|
|
| |
* Rename the FunctionType* parameter from M to FT on all the functions.
* Implement a fix for PR1293 by just asserting that library functions that
must return pointers should have pointer typed results. This just makes
sure that we don't attempt to use an uninitialized integer or something
later on.
llvm-svn: 35508
|
|
|
|
|
|
| |
a single integer field of type APInt.
llvm-svn: 34950
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implement the arbitrary bit-width integer feature. The feature allows
integers of any bitwidth (up to 64) to be defined instead of just 1, 8,
16, 32, and 64 bit integers.
This change does several things:
1. Introduces a new Derived Type, IntegerType, to represent the number of
bits in an integer. The Type classes SubclassData field is used to
store the number of bits. This allows 2^23 bits in an integer type.
2. Removes the five integer Type::TypeID values for the 1, 8, 16, 32 and
64-bit integers. These are replaced with just IntegerType which is not
a primitive any more.
3. Adjust the rest of LLVM to account for this change.
Note that while this incremental change lays the foundation for arbitrary
bit-width integers, LLVM has not yet been converted to actually deal with
them in any significant way. Most optimization passes, for example, will
still only deal with the byte-width integer types. Future increments
will rectify this situation.
llvm-svn: 33113
|
|
|
|
| |
llvm-svn: 33076
|
|
|
|
|
|
| |
Convert signed integer types to signless ones.
llvm-svn: 32787
|
|
|
|
|
|
| |
now cerr, cout, and NullStream resp.
llvm-svn: 32298
|
|
|
|
| |
llvm-svn: 32113
|
|
|
|
| |
llvm-svn: 31949
|
|
|
|
| |
llvm-svn: 31561
|
|
|
|
|
|
| |
linking the program on the fly.
llvm-svn: 29721
|
|
|
|
| |
llvm-svn: 28635
|
|
|
|
|
|
|
|
| |
Minor tweaks in public headers and a few .cpp files so that LLVM can build
successfully with -pedantic and projects using LLVM with -pedantic don't
get warnings from LLVM. There's still more -pedantic warnings to fix.
llvm-svn: 28453
|
|
|
|
| |
llvm-svn: 21440
|
|
|
|
|
|
| |
* Convert tabs to spaces
llvm-svn: 21421
|
|
|
|
|
|
|
|
| |
since we are dirty, special case __main. This should fix the infinite loop
horrible stuff that happens on linux-alpha when configuring llvm-gcc. It
might also help cygwin, who knows??
llvm-svn: 19729
|
|
|
|
| |
llvm-svn: 19586
|
|
|
|
| |
llvm-svn: 19392
|
|
|
|
| |
llvm-svn: 18357
|
|
|
|
| |
llvm-svn: 17284
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 14201
|
|
|
|
| |
llvm-svn: 14194
|
|
|
|
| |
llvm-svn: 13856
|
|
|
|
| |
llvm-svn: 13747
|
|
|
|
|
|
| |
functions with wrappers that either take or return size_ts.
llvm-svn: 13296
|
|
|
|
|
|
| |
Reimplement the Interpreters implementation of va_* to be more direct.
llvm-svn: 10627
|
|
|
|
| |
llvm-svn: 10465
|