[PATCH] D80765: [lld] Handle bitcode comdat groups separately to deduplicate thinlto comdat sections

Christy Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 29 17:30:41 PDT 2020


christylee updated this revision to Diff 267420.
christylee added a comment.
Herald added subscribers: steven_wu, hiraditya.

Addressed comments:

1). Changed isBitcodeFile to isLTOOutput.
2). Added test. Before this patch, lld does not deduplicate comdat sections generated by the backend.  .debug_types is an example.

Change for COFF to follow.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80765

Files:
  lld/ELF/Driver.cpp
  lld/ELF/InputFiles.cpp
  lld/ELF/InputFiles.h
  lld/ELF/Relocations.cpp
  lld/ELF/SymbolTable.h
  lld/test/ELF/lto/Inputs/debug-types-deduplication.ll
  lld/test/ELF/lto/debug-types-deduplication.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80765.267420.patch
Type: text/x-patch
Size: 8710 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200530/932d265f/attachment.bin>


More information about the llvm-commits mailing list