[PATCH] D86910: [lld-macho] Implement and test resolution of common symbols

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 31 23:11:07 PDT 2020


int3 created this revision.
int3 added a reviewer: lld-macho.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
int3 requested review of this revision.

Handle the case where there are both common and non-common definitions
of the same symbol. Add a bunch of tests to ensure compatibility with ld64.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86910

Files:
  lld/MachO/SymbolTable.cpp
  lld/test/MachO/common-symbol-resolution.s
  lld/test/MachO/nonweak-definition-override.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86910.289078.patch
Type: text/x-patch
Size: 6678 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200901/f8cf88a5/attachment.bin>


More information about the llvm-commits mailing list