[all-commits] [llvm/llvm-project] a96dab: [DWARFLinker] Fix buildbot crash: NewUnit can be n...

Shivam Kunwar via All-commits all-commits at lists.llvm.org
Mon Feb 23 20:56:59 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a96daba8403dfe69fd0a243254c0099d0f60c0c5
      https://github.com/llvm/llvm-project/commit/a96daba8403dfe69fd0a243254c0099d0f60c0c5
  Author: Shivam Kunwar <75530356+phyBrackets at users.noreply.github.com>
  Date:   2026-02-24 (Tue, 24 Feb 2026)

  Changed paths:
    M llvm/include/llvm/DWARFLinker/Classic/DWARFLinkerCompileUnit.h

  Log Message:
  -----------
  [DWARFLinker] Fix buildbot crash: NewUnit can be null during garbage (#182993)

The assert added in
[0ab1d23fbfa2ae0ba14315cb11678d2289510f66](https://github.com/llvm/llvm-project/commit/0ab1d23fbfa2ae0ba14315cb11678d2289510f66)
is incorrect, NewUnit is legitimately null for compile units that are
skipped during garbage collection (e.g. dwarf5-macro.test). Revert to
the original null check.



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