[all-commits] [llvm/llvm-project] f3da9a: [DebugInfo][RemoveDIs] Find types hidden in DbgRec...

Jeremy Morse via All-commits all-commits at lists.llvm.org
Tue Sep 3 07:07:33 PDT 2024


  Branch: refs/heads/release/19.x
  Home:   https://github.com/llvm/llvm-project
  Commit: f3da9af3fd2696fbbe437dea599eda088fcb5592
      https://github.com/llvm/llvm-project/commit/f3da9af3fd2696fbbe437dea599eda088fcb5592
  Author: Jeremy Morse <jeremy.morse at sony.com>
  Date:   2024-09-03 (Tue, 03 Sep 2024)

  Changed paths:
    M llvm/lib/IR/DebugProgramInstruction.cpp
    M llvm/lib/IR/TypeFinder.cpp
    A llvm/test/DebugInfo/type-finder-w-dbg-records.ll

  Log Message:
  -----------
  [DebugInfo][RemoveDIs] Find types hidden in DbgRecords (#106547)

When serialising to textual IR, there can be constant Values referred to
by DbgRecords that don't appear anywhere else, and have types hidden
even deeper in side them. Enumerate these when enumerating all types.

Test by Mikael Holmén.

(cherry picked from commit 25f87f2d703178bb4bc13a62cb3df001b186cba2)



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