diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-04-13 15:49:40 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-04-13 15:49:40 +0000 |
commit | 7cb41d787dc5b7b1cd2ad73db50ec44f8e68d549 (patch) | |
tree | a82407ee15a996545069104af5352e70d570ef4a /llvm/lib/Target/TargetInstrInfo.cpp | |
parent | 6aafb64daf40f0d798eae6fe3542a6ad0afcdb5f (diff) | |
download | bcm5719-llvm-7cb41d787dc5b7b1cd2ad73db50ec44f8e68d549.tar.gz bcm5719-llvm-7cb41d787dc5b7b1cd2ad73db50ec44f8e68d549.zip |
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
Diffstat (limited to 'llvm/lib/Target/TargetInstrInfo.cpp')
0 files changed, 0 insertions, 0 deletions