Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rename llvm::llvm_report_error -> llvm::report_fatal_error | Chris Lattner | 2010-04-07 | 1 | -1/+1 |
| | | | | llvm-svn: 100709 | ||||
* | remove some uses of llvm/Support/Streams.h | Chris Lattner | 2009-08-23 | 1 | -1/+0 |
| | | | | llvm-svn: 79842 | ||||
* | This void is implicit in C++. | Dan Gohman | 2009-08-12 | 1 | -1/+1 |
| | | | | llvm-svn: 78848 | ||||
* | Fix a bunch of namespace pollution. | Dan Gohman | 2009-08-07 | 1 | -0/+2 |
| | | | | llvm-svn: 78363 | ||||
* | llvm_report_error already prints "LLVM ERROR:". So stop reporting errors ↵ | Benjamin Kramer | 2009-08-03 | 1 | -1/+1 |
| | | | | | | like "LLVM ERROR: llvm: error:" or "LLVM ERROR: ERROR:". llvm-svn: 77971 | ||||
* | Convert more assert(0)+abort() -> LLVM_UNREACHABLE, | Torok Edwin | 2009-07-11 | 1 | -3/+3 |
| | | | | | | and abort()/exit() -> llvm_report_error(). llvm-svn: 75363 | ||||
* | stat64/open64/lseek64 for the interpreter | Torok Edwin | 2009-05-23 | 1 | -1/+4 |
| | | | | llvm-svn: 72329 | ||||
* | Fix misplaced right parentheses. | Evan Cheng | 2009-01-05 | 1 | -2/+2 |
| | | | | llvm-svn: 61699 | ||||
* | Handle weak_extern in the JIT. This fixes | Dan Gohman | 2009-01-05 | 1 | -6/+9 |
| | | | | | | | | SingleSource/UnitTests/2007-04-25-weak.c in JIT mode. The test now passes on systems which are able to produce a correct reference output to compare with. llvm-svn: 61674 | ||||
* | Add a new flag that disables symbol lookup with dlsym when set. This allows | Chris Lattner | 2008-06-16 | 1 | -33/+35 |
| | | | | | | | a JIT client to completely control symbol lookup with the LazyFunctionCreator interface. llvm-svn: 52335 | ||||
* | Add #includes to make some dependencies explicit. | Dan Gohman | 2008-05-23 | 1 | -0/+1 |
| | | | | llvm-svn: 51496 | ||||
* | Remove symbols that don't exist, remove tabs, fix comment typo | Chris Lattner | 2008-01-03 | 1 | -17/+15 |
| | | | | llvm-svn: 45553 | ||||
* | Fix PR1873, a problem finding stat-related symbols on linux, due to | Chris Lattner | 2008-01-03 | 1 | -9/+20 |
| | | | | | | "libc_nonshared.a". Patch by Edwin Török! llvm-svn: 45532 | ||||
* | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 1 | -2/+2 |
| | | | | llvm-svn: 45418 | ||||
* | for consistency, allow a fallthrough if the final check returns null. | Chris Lattner | 2007-11-28 | 1 | -1/+2 |
| | | | | llvm-svn: 44406 | ||||
* | Make this actually work on systems that support ppc long double. | Chris Lattner | 2007-11-27 | 1 | -3/+8 |
| | | | | llvm-svn: 44374 | ||||
* | Unbreak all of the darwin/ppc32 JIT failures having to do | Chris Lattner | 2007-11-27 | 1 | -0/+10 |
| | | | | | | with not being able to find printf. llvm-svn: 44373 | ||||
* | add a mechanism for the JIT to invoke a function to lazily create functions ↵ | Chris Lattner | 2007-10-22 | 1 | -0/+5 |
| | | | | | | as they are referenced. llvm-svn: 43210 | ||||
* | llvm-gcc3 is dead, along with it __main. | Chris Lattner | 2007-10-22 | 1 | -12/+0 |
| | | | | llvm-svn: 43209 | ||||
* | Removing even more <iostream> includes. | Bill Wendling | 2006-12-07 | 1 | -3/+2 |
| | | | | llvm-svn: 32320 | ||||
* | Fix handling of asm specifiers for external globals. This unbreaks many programs | Chris Lattner | 2006-07-28 | 1 | -1/+12 |
| | | | | | | on leopard in the jit. llvm-svn: 29391 | ||||
* | Fix warning on linux | Chris Lattner | 2006-07-27 | 1 | -8/+8 |
| | | | | llvm-svn: 29314 | ||||
* | Silence some -pedantic warnings. | Chris Lattner | 2006-06-01 | 1 | -4/+6 |
| | | | | llvm-svn: 28629 | ||||
* | Convert llvm.cs.uiuc.edu -> llvm.org | Reid Spencer | 2006-03-14 | 1 | -1/+1 |
| | | | | llvm-svn: 26748 | ||||
* | Remove trailing whitespace | Misha Brukman | 2005-04-21 | 1 | -5/+5 |
| | | | | llvm-svn: 21422 | ||||
* | Be double sure about including sys/stat.h by wrapping the inclusion in | Reid Spencer | 2004-12-20 | 1 | -0/+3 |
| | | | | | | an "#if defined(HAVE_SYS_STAT_H)". llvm-svn: 19069 | ||||
* | Move the #include of sys/stat.h inside the linux "hack" for the stat | Reid Spencer | 2004-12-17 | 1 | -3/+1 |
| | | | | | | family of functions so it gets noticed if we ever remove this. llvm-svn: 19022 | ||||
* | Only #include sys/stat.h if we're on linux where we have the PR274 problem. | Reid Spencer | 2004-12-17 | 1 | -0/+2 |
| | | | | llvm-svn: 19020 | ||||
* | Remove darwin specific majik | Chris Lattner | 2004-12-03 | 1 | -24/+0 |
| | | | | llvm-svn: 18467 | ||||
* | Do not look here for elegance. | Chris Lattner | 2004-12-03 | 1 | -0/+24 |
| | | | | | | | | This fixes the ugly darwin "cannot find symbols starting with __" issue. Thanks for Owen/resistor for testing this out for me. llvm-svn: 18454 | ||||
* | Use System/DynamicLibrary instead of Support/DynamicLinker | Reid Spencer | 2004-11-29 | 1 | -2/+2 |
| | | | | llvm-svn: 18357 | ||||
* | Changes For Bug 352 | Reid Spencer | 2004-09-01 | 1 | -1/+1 |
| | | | | | | | | 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 | ||||
* | Implement PR315: abort, don't warn, when missing external functions encountered | Chris Lattner | 2004-06-01 | 1 | -9/+17 |
| | | | | | | This fixes some critical problems building libstdc++ on cygwin. llvm-svn: 13934 | ||||
* | My fix for PR274 broke the build on Darwin/PPC. As I'm fairly certain this | Brian Gaeke | 2004-03-10 | 1 | -2/+4 |
| | | | | | | | bug only affects Linux systems that use GLIBC, I'm going to put ifdefs around the array. llvm-svn: 12269 | ||||
* | Address PR274 - '[JIT] Programs cannot resolve the fstat function' | Brian Gaeke | 2004-03-09 | 1 | -0/+18 |
| | | | | | | | | | by trying to get the compiler to generate an undefined reference for it and related functions which live in libc_nonshared.a on Linux. Linkers... sigh. llvm-svn: 12256 | ||||
* | No longer run atExit functions from run() | Chris Lattner | 2003-12-26 | 1 | -2/+2 |
| | | | | | | | rename run to runFunction Genericize the runFunction code a little bit, though it still stinks llvm-svn: 10610 | ||||
* | Cleanup the JIT as per PR176. This renames the VM class to JIT, and merges the | Chris Lattner | 2003-12-20 | 1 | -4/+4 |
| | | | | | | | VM.cpp and JIT.cpp files into JIT.cpp. This also splits some nasty code out into TargetSelect.cpp so that people hopefully won't notice it. :) llvm-svn: 10544 | ||||
* | Finegrainify namespacification | Chris Lattner | 2003-12-08 | 1 | -4/+1 |
| | | | | llvm-svn: 10318 | ||||
* | Put all LLVM code into the llvm namespace, as per bug 109. | Brian Gaeke | 2003-11-11 | 1 | -0/+4 |
| | | | | llvm-svn: 9903 | ||||
* | Added LLVM project notice to the top of every C++ source file. | John Criswell | 2003-10-20 | 1 | -0/+7 |
| | | | | | | Header files will be on the way. llvm-svn: 9298 | ||||
* | Change to use GetAddressOfSymbol instead of dlsym. | Brian Gaeke | 2003-10-10 | 1 | -10/+5 |
| | | | | llvm-svn: 9012 | ||||
* | Make CreateArgv part of lli rather than part of ExecutionEngine. | Brian Gaeke | 2003-09-05 | 1 | -10/+15 |
| | | | | | | | | | | | | | | | Switch Interpreter and JIT's "run" methods to take a Function and a vector of GenericValues. Move (almost all of) the stuff that constructs a canonical call to main() into lli (new methods "callAsMain", "makeStringVector"). Nuke getCurrentExecutablePath(), enableTracing(), getCurrentFunction(), isStopped(), and many dead decls from interpreter. Add linux strdup() support to interpreter. Make interpreter's atexit handler runner and JIT's runAtExitHandlers() look more alike, in preparation for refactoring. atexit() is spelled "atexit", not "at_exit". llvm-svn: 8366 | ||||
* | Clean up code dealing with RTLD_SELF differences on Sparc and X86. | Misha Brukman | 2003-07-28 | 1 | -5/+5 |
| | | | | llvm-svn: 7362 | ||||
* | Merged in autoconf branch. This provides configuration via the autoconf | John Criswell | 2003-06-30 | 1 | -1/+1 |
| | | | | | | system. llvm-svn: 7014 | ||||
* | Sparc's dlsym() requires the special operand RTLD_SELF to find a symbol in the | Misha Brukman | 2003-06-04 | 1 | -0/+4 |
| | | | | | | currently-running process. llvm-svn: 6592 | ||||
* | Add support for atexit handlers to the JIT, fixing 2003-05-14-AtExit.c | Chris Lattner | 2003-05-14 | 1 | -3/+16 |
| | | | | llvm-svn: 6193 | ||||
* | Fix compilation problems with previous checking *blush* | Chris Lattner | 2003-05-14 | 1 | -3/+4 |
| | | | | llvm-svn: 6191 | ||||
* | Add a framework for intercepting system calls | Chris Lattner | 2003-05-14 | 1 | -0/+52 |
llvm-svn: 6190 |