[PATCH] D101569: [LLD] [COFF] Fix automatic export of symbols from LTO objects

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 8 14:04:01 PDT 2021


mstorsjo updated this revision to Diff 343865.
mstorsjo added a comment.

Simplified (somewhat) by adding fake SectionChunks for LTO symbols until they're compiled.

There's still some amount of ugliness here; the SectionChunk ctor needs to be made to cope with a null ObjFile, and that this runs before `config` is initialized. Any ideas for how to make that bit neater?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101569/new/

https://reviews.llvm.org/D101569

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101569.343865.patch
Type: text/x-patch
Size: 5145 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210508/fad991cf/attachment.bin>


More information about the llvm-commits mailing list