[all-commits] [llvm/llvm-project] cdc7ef: DebugInfo: Avoid some MMI::hasDebugInfo checks

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Jul 24 02:14:54 PDT 2024


  Branch: refs/heads/users/arsenm/avoid-checking-mmi-hasdebuginfo
  Home:   https://github.com/llvm/llvm-project
  Commit: cdc7ef3d245b8c013d094ac68727f8e3fd78526a
      https://github.com/llvm/llvm-project/commit/cdc7ef3d245b8c013d094ac68727f8e3fd78526a
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-07-24 (Wed, 24 Jul 2024)

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

  Log Message:
  -----------
  DebugInfo: Avoid some MMI::hasDebugInfo checks

I assume getSubprogram will do the correct thing in hasDebugInfo,
and this is redundant with the debug_compile_units distance check.
This is in preparation for removing the field.



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