Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix libffi usage when it is on a custom path. | Oscar Fuentes | 2011-01-28 | 1 | -9/+1 | |
| | | | | llvm-svn: 124486 | |||||
* | Use the paths to libffi's header and library even when no custom | Oscar Fuentes | 2011-01-27 | 1 | -6/+10 | |
| | | | | | | location was stated with FFI_INCLUDE_DIR/FFI_LIBRARY_DIR. llvm-svn: 124449 | |||||
* | Handles libffi on the CMake build. | Oscar Fuentes | 2011-01-21 | 1 | -0/+16 | |
| | | | | | | Patch by arrowdodger! llvm-svn: 123976 | |||||
* | Merge System into Support. | Michael J. Spencer | 2010-11-29 | 2 | -3/+3 | |
| | | | | llvm-svn: 120298 | |||||
* | PR5207: change APInt::doubleToBits() and APInt::floatToBits() to be | Jay Foad | 2010-11-28 | 1 | -4/+2 | |
| | | | | | | static methods that return a new APInt. llvm-svn: 120261 | |||||
* | Revert "CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally." | Michael J. Spencer | 2010-09-13 | 1 | -7/+0 | |
| | | | | | | | | | | This reverts commit r113632 Conflicts: cmake/modules/AddLLVM.cmake llvm-svn: 113819 | |||||
* | CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally. | Michael J. Spencer | 2010-09-10 | 1 | -0/+7 | |
| | | | | llvm-svn: 113632 | |||||
* | Convert some tab stops into spaces. | Duncan Sands | 2010-07-12 | 1 | -1/+1 | |
| | | | | llvm-svn: 108130 | |||||
* | Handle execution entrypoints with non-integer return types. | Dan Gohman | 2010-06-18 | 1 | -1/+1 | |
| | | | | | | Fix from Russel Power in PR7284. llvm-svn: 106271 | |||||
* | Fix an ancient FIXME. | Dan Gohman | 2010-05-01 | 1 | -3/+1 | |
| | | | | llvm-svn: 102827 | |||||
* | rename llvm::llvm_report_error -> llvm::report_fatal_error | Chris Lattner | 2010-04-07 | 2 | -7/+7 | |
| | | | | llvm-svn: 100709 | |||||
* | Typo noticed by Duncan. | Torok Edwin | 2010-03-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 99918 | |||||
* | Don't overwrite previous value, if it succeeded. | Torok Edwin | 2010-03-30 | 1 | -1/+2 | |
| | | | | llvm-svn: 99886 | |||||
* | Honour addGlobalMapping() in the interpreter, if it was used to add mappings for | Torok Edwin | 2010-03-30 | 1 | -0/+1 | |
| | | | | | | external Functions (the JIT does honour this). llvm-svn: 99885 | |||||
* | There are two ways of checking for a given type, for example isa<PointerType>(T) | Duncan Sands | 2010-02-16 | 1 | -5/+5 | |
| | | | | | | | and T->isPointerTy(). Convert most instances of the first form to the second form. Requested by Chris. llvm-svn: 96344 | |||||
* | Uniformize the names of type predicates: rather than having isFloatTy and | Duncan Sands | 2010-02-15 | 1 | -9/+9 | |
| | | | | | | isInteger, we now have isFloatTy and isIntegerTy. Requested by Chris! llvm-svn: 96223 | |||||
* | Replace strcpy with memcpy when we have the length around anyway. | Benjamin Kramer | 2010-01-28 | 1 | -3/+4 | |
| | | | | llvm-svn: 94746 | |||||
* | Kill ModuleProvider and ghost linkage by inverting the relationship between | Jeffrey Yasskin | 2010-01-27 | 2 | -9/+8 | |
| | | | | | | | | | | | | | | | | | | | | | Modules and ModuleProviders. Because the "ModuleProvider" simply materializes GlobalValues now, and doesn't provide modules, it's renamed to "GVMaterializer". Code that used to need a ModuleProvider to materialize Functions can now materialize the Functions directly. Functions no longer use a magic linkage to record that they're materializable; they simply ask the GVMaterializer. Because the C ABI must never change, we can't remove LLVMModuleProviderRef or the functions that refer to it. Instead, because Module now exposes the same functionality ModuleProvider used to, we store a Module* in any LLVMModuleProviderRef and translate in the wrapper methods. The bindings to other languages still use the ModuleProvider concept. It would probably be worth some time to update them to follow the C++ more closely, but I don't intend to do it. Fixes http://llvm.org/PR5737 and http://llvm.org/PR5735. llvm-svn: 94686 | |||||
* | make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. | Chris Lattner | 2010-01-24 | 1 | -1/+0 | |
| | | | | llvm-svn: 94378 | |||||
* | Stop building RTTI information for *most* llvm libraries. Notable | Chris Lattner | 2010-01-22 | 1 | -0/+2 | |
| | | | | | | | | | | | missing ones are libsupport, libsystem and libvmcore. libvmcore is currently blocked on bugpoint, which uses EH. Once it stops using EH, we can switch it off. This #if 0's out 3 unit tests, because gtest requires RTTI information. Suggestions welcome on how to fix this. llvm-svn: 94164 | |||||
* | Avoid going through the LLVMContext for type equality where it's safe to ↵ | Benjamin Kramer | 2010-01-05 | 1 | -1/+1 | |
| | | | | | | dereference the type pointer. llvm-svn: 92726 | |||||
* | These should probably be errs(). | David Greene | 2010-01-05 | 1 | -3/+3 | |
| | | | | llvm-svn: 92673 | |||||
* | Change errs() to dbgs(). | David Greene | 2010-01-05 | 1 | -3/+3 | |
| | | | | llvm-svn: 92618 | |||||
* | Change errs() to dbgs(). | David Greene | 2010-01-05 | 1 | -38/+38 | |
| | | | | llvm-svn: 92616 | |||||
* | Fix passing of float arguments through ffi. | Nick Lewycky | 2009-11-18 | 1 | -1/+1 | |
| | | | | llvm-svn: 89198 | |||||
* | Fail less mysteriously; inform the user that their LLVM was not built with | Nick Lewycky | 2009-11-17 | 1 | -0/+3 | |
| | | | | | | | libffi support and that the interpreter can't call external functions without it. Patch by Timo Juhani Lindfors! Fixes PR5466. llvm-svn: 89062 | |||||
* | Remove ByteswapSCANFResults, it is dead. | Daniel Dunbar | 2009-11-08 | 1 | -76/+0 | |
| | | | | llvm-svn: 86458 | |||||
* | We don't need to byteswap, the interpreter assumes the program is running | Nick Lewycky | 2009-11-08 | 1 | -8/+1 | |
| | | | | | | native anyways. This fixes a crash using %d and similar in a scanf statement. llvm-svn: 86440 | |||||
* | Fix the interpreter to not crash due to zeroext/signext | Nick Lewycky | 2009-11-08 | 1 | -10/+0 | |
| | | | | llvm-svn: 86428 | |||||
* | add interpreter support for indirect goto / blockaddress. The interpreter | Chris Lattner | 2009-10-29 | 2 | -12/+21 | |
| | | | | | | | now correctly runs clang's test/CodeGen/indirect-goto.c. The JIT will abort on it until someone feels compelled to implement this. llvm-svn: 85488 | |||||
* | Remove FreeInst. | Victor Hernandez | 2009-10-26 | 2 | -9/+0 | |
| | | | | | | | Remove LowerAllocations pass. Update some more passes to treate free calls just like they were treating FreeInst. llvm-svn: 85176 | |||||
* | Move DataTypes.h to include/llvm/System, update all users. This breaks the last | Chandler Carruth | 2009-10-26 | 1 | -1/+1 | |
| | | | | | | direct inclusion edge from System to Support. llvm-svn: 85086 | |||||
* | Remove AllocationInst. Since MallocInst went away, AllocaInst is the only ↵ | Victor Hernandez | 2009-10-23 | 2 | -2/+2 | |
| | | | | | | subclass of AllocationInst, so it no longer is necessary. llvm-svn: 84969 | |||||
* | strength reduce a ton of type equality tests to check the typeid (Through | Chris Lattner | 2009-10-05 | 1 | -11/+9 | |
| | | | | | | | | the new predicates I added) instead of going through a context and doing a pointer comparison. Besides being cheaper, this allows a smart compiler to turn the if sequence into a switch. llvm-svn: 83297 | |||||
* | Stop using alloca. | Nick Lewycky | 2009-09-18 | 1 | -17/+14 | |
| | | | | llvm-svn: 82225 | |||||
* | Some platforms may need malloc.h for alloca. | Daniel Dunbar | 2009-09-17 | 1 | -3/+6 | |
| | | | | llvm-svn: 82100 | |||||
* | remove some uses of llvm/Support/Streams.h | Chris Lattner | 2009-08-23 | 1 | -4/+4 | |
| | | | | llvm-svn: 79842 | |||||
* | remove the std::ostream version of module and type printing. | Chris Lattner | 2009-08-23 | 1 | -4/+4 | |
| | | | | llvm-svn: 79823 | |||||
* | eliminate the "Value" printing methods that print to a std::ostream. | Chris Lattner | 2009-08-23 | 2 | -46/+44 | |
| | | | | | | This required converting a bunch of stuff off DOUT and other cleanups. llvm-svn: 79819 | |||||
* | Push LLVMContexts through the IntegerType APIs. | Owen Anderson | 2009-08-13 | 2 | -20/+26 | |
| | | | | llvm-svn: 78948 | |||||
* | This void is implicit in C++. | Dan Gohman | 2009-08-12 | 1 | -1/+1 | |
| | | | | llvm-svn: 78848 | |||||
* | MSVC warning fixes; patch by Stein Roger! | Daniel Dunbar | 2009-08-07 | 1 | -0/+11 | |
| | | | | llvm-svn: 78405 | |||||
* | 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 | |||||
* | Switch to getNameStr(). | Daniel Dunbar | 2009-07-24 | 1 | -3/+3 | |
| | | | | llvm-svn: 76962 | |||||
* | Simplify some uses of Value::getName() | Daniel Dunbar | 2009-07-22 | 1 | -2/+2 | |
| | | | | llvm-svn: 76786 | |||||
* | Add EngineBuilder to ExecutionEngine in favor of the five optional argument ↵ | Reid Kleckner | 2009-07-18 | 2 | -6/+2 | |
| | | | | | | | | EE::create(). Also a test commit. llvm-svn: 76276 | |||||
* | llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. | Torok Edwin | 2009-07-14 | 2 | -32/+32 | |
| | | | | | | | | | This adds location info for all llvm_unreachable calls (which is a macro now) in !NDEBUG builds. In NDEBUG builds location info and the message is off (it only prints "UREACHABLE executed"). llvm-svn: 75640 | |||||
* | assert(0) -> LLVM_UNREACHABLE. | Torok Edwin | 2009-07-11 | 2 | -5/+8 | |
| | | | | | | | | | Make llvm_unreachable take an optional string, thus moving the cerr<< out of line. LLVM_UNREACHABLE is now a simple wrapper that makes the message go away for NDEBUG builds. llvm-svn: 75379 | |||||
* | Convert more assert(0)+abort() -> LLVM_UNREACHABLE, | Torok Edwin | 2009-07-11 | 2 | -41/+43 | |
| | | | | | | and abort()/exit() -> llvm_report_error(). llvm-svn: 75363 | |||||
* | remove dead function. | Chris Lattner | 2009-07-09 | 1 | -9/+0 | |
| | | | | llvm-svn: 75143 |