[all-commits] [llvm/llvm-project] 92a10f: [ELF] Simplify checkDuplicate; cover SharedSymbol/...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun May 3 12:35:00 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 92a10f4a23307678ed5b54e21e3b9034a46270f1
      https://github.com/llvm/llvm-project/commit/92a10f4a23307678ed5b54e21e3b9034a46270f1
  Author: Fangrui Song <i at maskray.me>
  Date:   2026-05-03 (Sun, 03 May 2026)

  Changed paths:
    M lld/ELF/Symbols.cpp
    M lld/test/ELF/common-shared.s

  Log Message:
  -----------
  [ELF] Simplify checkDuplicate; cover SharedSymbol/CommonSymbol resolve. NFC (#195541)

Drop the redundant isDefined() check.

Extend common-shared.s to also exercise the case where the
SharedSymbol's
st_size is not larger than the incoming CommonSymbol's.



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