[all-commits] [llvm/llvm-project] e82f08: [ELF] --icf: don't fold a section without relocati...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Sep 18 23:06:36 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e82f0838ae88ad69515ebec234765e3e2607bebf
      https://github.com/llvm/llvm-project/commit/e82f0838ae88ad69515ebec234765e3e2607bebf
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-09-18 (Wed, 18 Sep 2024)

  Changed paths:
    M lld/ELF/ICF.cpp
    M lld/ELF/InputSection.cpp
    M lld/ELF/InputSection.h
    M lld/test/ELF/icf10.s

  Log Message:
  -----------
  [ELF] --icf: don't fold a section without relocation and a section with relocations for SHT_CREL

Similar to commit 686cff17cc310884e48ae963bf7507f96950cc90 for SHT_REL (#57693).
CREL hasn't been tested with ICF before.

And avoid a pitfall that eqClass[0] might interfere with ICF.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list