[PATCH] D62884: [lld] Explicitly ignore comdat groups when parsing LTO object

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 4 16:51:06 PDT 2019


sbc100 created this revision.
Herald added subscribers: llvm-commits, dexonsmith, MaskRay, sunfish, aheejin, arichardson, inglorion, mehdi_amini, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.
sbc100 added a reviewer: ruiu.

Any symbols defined in the LTO object are by definition the ones we
want in the final output so we skip the comdat group checking in those
cases.

This change makes the ELF code more explicit about this and means
that wasm and ELF do this in the same way.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D62884

Files:
  lld/ELF/Driver.cpp
  lld/ELF/InputFiles.cpp
  lld/ELF/InputFiles.h
  lld/wasm/InputFiles.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62884.203046.patch
Type: text/x-patch
Size: 6046 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190604/deebfa75/attachment.bin>


More information about the llvm-commits mailing list