[all-commits] [llvm/llvm-project] a77674: [DebugInfo] Correctly track metadata slots for DPV...

Stephen Tozer via All-commits all-commits at lists.llvm.org
Fri Jan 5 06:09:06 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a776740d6296520b8bde156aa3f8d9ecb32cddd9
      https://github.com/llvm/llvm-project/commit/a776740d6296520b8bde156aa3f8d9ecb32cddd9
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-01-05 (Fri, 05 Jan 2024)

  Changed paths:
    M llvm/lib/IR/AsmWriter.cpp

  Log Message:
  -----------
  [DebugInfo] Correctly track metadata slots for DPValues (#76941)

Currently, the AsmWriter can print DPValues, but does not consider them
when creating slots for metadata, which can result in erroneous output
where metadata is numbered incorrectly. This patch modifies the
ModuleSlotTracker to correctly track slots for metadata that appears in
DPValues.




More information about the All-commits mailing list