diff options
author | Igor Kudrin <ikudrin@accesssoftek.com> | 2017-10-03 12:23:46 +0000 |
---|---|---|
committer | Igor Kudrin <ikudrin@accesssoftek.com> | 2017-10-03 12:23:46 +0000 |
commit | fb7f8befec7c54177eb7216c464d4946e1580558 (patch) | |
tree | 76da40384008c798568d5ccd3f576a937c8b89e9 /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
parent | 66b0ad91f661f0c6aa05037d208db2fa137ea5ec (diff) | |
download | llvm-fb7f8befec7c54177eb7216c464d4946e1580558.zip llvm-fb7f8befec7c54177eb7216c464d4946e1580558.tar.gz llvm-fb7f8befec7c54177eb7216c464d4946e1580558.tar.bz2 |
[ELF] Avoid promoting an undefined weak entry symbol to global.
Without this patch, lld emits "error: undefined symbol: _start"
if it encountered only weak references to that symbol.
llvm-svn: 314790
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions