[all-commits] [llvm/llvm-project] b19741: [ELF, test] Cover --why-live mark() paths in MarkLi...

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue May 5 23:37:33 PDT 2026


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

  Changed paths:
    M lld/test/ELF/why-live.test

  Log Message:
  -----------
  [ELF,test] Cover --why-live mark() paths in MarkLive (#196007)

Add cases that exercise the non-parallel mark() loop reached only when
TrackWhyLive is true: cNamedSections.lookup in resolveReloc
(__libc_atexit
via __start_/__stop_), the nextInSectionGroup fallthrough, and the
.eh_frame personality CIE relocation processed by scanEhFrameSection.

MarkLive.cpp coverage on check-lld-elf goes 90.88% -> 92.18% regions,
84.15% -> 86.04% branches.



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