diff options
author | Chris Lattner <sabre@nondot.org> | 2004-11-15 23:20:04 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-11-15 23:20:04 +0000 |
commit | 02376e3f29fd393d2e36a2e3bb682bdcecb1c8ab (patch) | |
tree | e48b7ed0b87fd11415c52aaa0ccac154f1160675 /lib/Target/PowerPC/PPC64CodeEmitter.cpp | |
parent | 0050ef831912eea2377c815bc59c09ed828f2684 (diff) |
Now that we have ghost linkage, we can force resolution of external symbols
immediately instead of lazily.
In this program, for example:
int main() {
printf("hello world\n");
printf("hello world\n");
printf("hello world\n");
printf("hello world\n");
}
We used to have to go through compilation callback 4 times (once for each
call to printf), now we don't go to it at all.
Thanks to Misha for noticing this, and for adding the initial ghost linkage
patches.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17864 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPC64CodeEmitter.cpp')
0 files changed, 0 insertions, 0 deletions