[PATCH] D102973: [ELF] Suppress GRP_COMDAT deduplication if the signature symbol is STB_LOCAL

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 26 13:29:04 PDT 2021


MaskRay added a comment.

You may look at D103043 <https://reviews.llvm.org/D103043>. `llvm/test/Transforms/Internalize/comdat.ll` is an example where the ELF behavior is unfortunate.

PE-COFF COMDAT is unfortunate in many aspects (https://lists.llvm.org/pipermail/llvm-dev/2021-May/150758.html) but is better than ELF in this aspect:)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102973



More information about the llvm-commits mailing list