[PATCH] D86142: [LLD] Search archives for non-tentative defintions.

Sean Fertile via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 18 07:21:29 PDT 2020


sfertile created this revision.
sfertile added reviewers: MaskRay, rzurob, ruiu, nemanjai, stefanp, NeHuang, jyknight.
sfertile added a project: PowerPC.
Herald added subscribers: arichardson, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.
sfertile requested review of this revision.

Work in progress patch to spur the discussion. Motivated by bfds common symbol handling in archives which is needed by FORTRAN libraries which use CommonBlock/BlockData .

When an object  symbol is a tentative definition, we search archives for 'real' definitions to override the common symbol.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86142

Files:
  lld/ELF/InputFiles.cpp
  lld/ELF/InputFiles.h
  lld/ELF/Symbols.cpp
  lld/test/ELF/common-archive-lookup.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86142.286278.patch
Type: text/x-patch
Size: 8620 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200818/6e68f30a/attachment.bin>


More information about the llvm-commits mailing list