diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-12-10 14:19:35 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-12-10 14:19:35 +0000 |
| commit | caabe22832c75b2fbfd048f9b6e8969e5c80b070 (patch) | |
| tree | f4ecc24a42999ebe136f784e8d61695dcac9b365 /llvm/test/tools | |
| parent | b949b9c01b1986aa663238afa279ed9e116a618c (diff) | |
| download | bcm5719-llvm-caabe22832c75b2fbfd048f9b6e8969e5c80b070.tar.gz bcm5719-llvm-caabe22832c75b2fbfd048f9b6e8969e5c80b070.zip | |
Slit lib/Linker in two.
A linker normally has two stages: symbol resolution and "moving stuff".
In lib/Linker there is the complication of lazy linking some globals,
but it was still far more mixed than it needed to.
This splits the linker into a lower level IRMover and the linker proper.
The IRMover just takes a list of globals to move and a callback that
lets the user control what is lazy linked.
The main motivation is that now tools/gold (and soon lld) can use their
own symbol resolution to instruct IRMover what to do.
llvm-svn: 255254
Diffstat (limited to 'llvm/test/tools')
| -rw-r--r-- | llvm/test/tools/gold/X86/drop-linkage.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/tools/gold/X86/drop-linkage.ll b/llvm/test/tools/gold/X86/drop-linkage.ll index 14d3a96718a..d4c1dd052c7 100644 --- a/llvm/test/tools/gold/X86/drop-linkage.ll +++ b/llvm/test/tools/gold/X86/drop-linkage.ll @@ -11,4 +11,4 @@ define void @foo() { ret void } -; CHECK: declare void @foo(){{$}} +; CHECK: declare extern_weak void @foo(){{$}} |

