[all-commits] [llvm/llvm-project] 442532: DebugInfo: Avoid some MMI::hasDebugInfo checks
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Wed Jul 24 04:17:59 PDT 2024
Branch: refs/heads/users/arsenm/avoid-checking-mmi-hasdebuginfo
Home: https://github.com/llvm/llvm-project
Commit: 442532e0d50039d0bb3603520d361b2ee4b4a1b5
https://github.com/llvm/llvm-project/commit/442532e0d50039d0bb3603520d361b2ee4b4a1b5
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
M llvm/lib/Target/NVPTX/NVPTXAsmPrinter.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