1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/tools/llvm-rtdyld
Jim Grosbach 6980d004ee Load multiple object files and link them via RuntimeDyld in llvm-rtdyld.
Relocations between the object modules are properly resolved, as in the
following trivial example:

$ cat t.c
int foo();
int main() {
    return foo();
}
$ cat foo.c
int foo() {
    return 65;
}
$ clang -c t.c -fno-asynchronous-unwind-tables
$ clang -c foo.c -fno-asynchronous-unwind-tables
$ llvm-rtdyld t.o foo.o ; echo $?
loaded '_main' at: 0x10015c000
65

llvm-svn: 129448
2011-04-13 15:49:40 +00:00
..
CMakeLists.txt Update CMake link dependency. 2011-03-29 23:18:51 +00:00
llvm-rtdyld.cpp Load multiple object files and link them via RuntimeDyld in llvm-rtdyld. 2011-04-13 15:49:40 +00:00
Makefile Instantiate a JITMemoryManager for MCJIT Dyld 2011-03-29 21:03:05 +00:00