[PATCH] D103012: [LLD] [COFF] Fix autoexport from LTO objects with comdat symbols

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 24 05:20:27 PDT 2021


mstorsjo created this revision.
mstorsjo added a reviewer: rnk.
Herald added subscribers: steven_wu, hiraditya, inglorion.
mstorsjo requested review of this revision.
Herald added a project: LLVM.

Make sure that comdat symbols also have a non-null dummy
SectionChunk associated.

This requires moving around an existing FIXME regarding comdats in
LTO.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D103012

Files:
  lld/COFF/InputFiles.cpp
  lld/test/COFF/export-all-lto.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103012.347355.patch
Type: text/x-patch
Size: 3787 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210524/5b639a94/attachment.bin>


More information about the llvm-commits mailing list