[all-commits] [llvm/llvm-project] 0f250d: DebugInfo: Avoid some MMI::hasDebugInfo checks
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Fri Jul 26 02:02:57 PDT 2024
Branch: refs/heads/users/arsenm/avoid-checking-mmi-hasdebuginfo
Home: https://github.com/llvm/llvm-project
Commit: 0f250dceca85f8008c409f61a303f5da673b5037
https://github.com/llvm/llvm-project/commit/0f250dceca85f8008c409f61a303f5da673b5037
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-07-26 (Fri, 26 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