[all-commits] [llvm/llvm-project] 7b039c: [DebugInfo][RemoveDIs] Fix error from not tracking...

Stephen Tozer via All-commits all-commits at lists.llvm.org
Mon Apr 15 05:15:48 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7b039c0cf0045d81da7e1575232a46266cff1e88
      https://github.com/llvm/llvm-project/commit/7b039c0cf0045d81da7e1575232a46266cff1e88
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-04-15 (Mon, 15 Apr 2024)

  Changed paths:
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    A llvm/test/Bitcode/dbg-label-record-bc.ll

  Log Message:
  -----------
  [DebugInfo][RemoveDIs] Fix error from not tracking seen debug labels (#88718)

Fixes the reported errors on:
https://github.com/llvm/llvm-project/pull/87379

A previous patch updated the bitcode reading for debug
intrinsics/records to not perform the expensive debug info format
conversion from records to intrinsics in cases where no records were
present, but the patch did not actually track when debug labels had been
seen, resulting in errors when parsing bitcode where functions contained
debug label records but no other debug records. This patch fixes that
case and adds a test for it.



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