[all-commits] [llvm/llvm-project] 3ef37e: [DebugInfo][DWARF] Set is_stmt on first non-line-0...

Stephen Tozer via All-commits all-commits at lists.llvm.org
Thu Aug 29 03:29:42 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ef37e2f8f672393ee409fde8309198df0981735
      https://github.com/llvm/llvm-project/commit/3ef37e2f8f672393ee409fde8309198df0981735
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/test/CodeGen/Thumb2/pr52817.ll
    M llvm/test/CodeGen/X86/fsafdo_test1.ll
    M llvm/test/CodeGen/X86/fsafdo_test4.ll
    A llvm/test/DebugInfo/Generic/is_stmt-at-block-start.ll
    M llvm/test/DebugInfo/MIR/X86/empty-inline.mir
    M llvm/test/DebugInfo/X86/discriminator.ll

  Log Message:
  -----------
  [DebugInfo][DWARF] Set is_stmt on first non-line-0 instruction in BB (#105524)

Fixes: https://github.com/llvm/llvm-project/issues/104695

This patch adds the is_stmt flag to line table entries for the first
instruction with a non-0 line location in each basic block, to ensure
that it will be used for stepping even if the last instruction in the
previous basic block had the same line number; this is important for
cases where the new BB is reachable from BBs other than the preceding
block.



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