[all-commits] [llvm/llvm-project] 211849: [ELF] Decouple SharedFile::isNeeded from GC mark. ...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Apr 1 22:43:12 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2118499a898b514f70fb1754ad8713a4267f7bd3
      https://github.com/llvm/llvm-project/commit/2118499a898b514f70fb1754ad8713a4267f7bd3
  Author: Fangrui Song <i at maskray.me>
  Date:   2026-04-01 (Wed, 01 Apr 2026)

  Changed paths:
    M lld/ELF/InputFiles.cpp
    M lld/ELF/InputFiles.h
    M lld/ELF/MarkLive.cpp

  Log Message:
  -----------
  [ELF] Decouple SharedFile::isNeeded from GC mark. NFC (#190112)

... out of the per-relocation resolveReloc and into a post-GC scan of
global symbols. This decouples the --as-needed logic from the mark
algorithm, simplifying the imminent parallel GC mark.



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