llvm-mirror/lib
Danil Malyshev df8df843d9 Re-factored RuntimeDyLd:
1. The main works will made in the RuntimeDyLdImpl with uses the ObjectFile class. RuntimeDyLdMachO and RuntimeDyLdELF now only parses relocations and resolve it. This is allows to make improvements of the RuntimeDyLd more easily. In addition the support for COFF can be easily added.

2. Added ARM relocations to RuntimeDyLdELF.

3. Added support for stub functions for the ARM, allowing to do a long branch.

4. Added support for external functions that are not loaded from the object files, but can be loaded from external libraries. Now MCJIT can correctly execute the code containing the printf, putc, and etc.

5. The sections emitted instead functions, thanks Jim Grosbach. MemoryManager.startFunctionBody() and MemoryManager.endFunctionBody() have been removed.
6. MCJITMemoryManager.allocateDataSection() and MCJITMemoryManager. allocateCodeSection() used JMM->allocateSpace() instead of JMM->allocateCodeSection() and JMM->allocateDataSection(), because I got an error: "Cannot allocate an allocated block!" with object file contains more than one code or data sections.

llvm-svn: 153754
2012-03-30 16:45:19 +00:00
..
Analysis Add computeMaskedBitsLoad back, as it was the change to instsimplify that 2012-03-30 15:52:11 +00:00
Archive Include cstdio in a few place that depended on getting it transitively through StringExtras.h 2012-03-23 11:35:30 +00:00
AsmParser
Bitcode llvm::SwitchInst 2012-03-11 06:09:17 +00:00
CodeGen If we have a VLA that has a "use" in a metadata node that's then used 2012-03-30 00:02:55 +00:00
DebugInfo
ExecutionEngine Re-factored RuntimeDyLd: 2012-03-30 16:45:19 +00:00
Linker It's possible for two types, which are isomorphic, to be added to the 2012-03-23 23:17:38 +00:00
MC Prune some includes 2012-03-27 07:54:11 +00:00
Object [Object/COFF]: Expose getSectionContents. 2012-03-19 20:27:37 +00:00
Support Lowercase the tag name to match the rest of dwarf. 2012-03-29 21:35:05 +00:00
TableGen Fix infinite loop in nested multiclasses. 2012-03-07 16:39:35 +00:00
Target ARM assembly parsing needs to be paranoid about negative immediates. 2012-03-30 16:31:31 +00:00
Transforms Don't PRE compares. 2012-03-29 17:22:39 +00:00
VMCore Add missing include of <new> 2012-03-26 14:04:17 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile