[all-commits] [llvm/llvm-project] 251958: [DebugInfo] Don't pick prologue_end if there are n...

Jeremy Morse via All-commits all-commits at lists.llvm.org
Thu Nov 14 05:42:32 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 251958f3570730f58d1337ac6d00f03ee6a839fe
      https://github.com/llvm/llvm-project/commit/251958f3570730f58d1337ac6d00f03ee6a839fe
  Author: Jeremy Morse <jeremy.morse at sony.com>
  Date:   2024-11-14 (Thu, 14 Nov 2024)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp

  Log Message:
  -----------
  [DebugInfo] Don't pick prologue_end if there are no instructions

Add a filter to avoid picking prologue_end when a function is empty (it may
have blocks but no instructions). This saves us from pushing more
validity-checking into findPrologueEndLoc.



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