[all-commits] [llvm/llvm-project] 7a930c: [DWARF] Emit a minimal line-table for totally empt...
Jeremy Morse via All-commits
all-commits at lists.llvm.org
Mon Sep 9 04:55:07 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7a930ce327fdbc5c77b50ee6304645084100c037
https://github.com/llvm/llvm-project/commit/7a930ce327fdbc5c77b50ee6304645084100c037
Author: Jeremy Morse <jeremy.morse at sony.com>
Date: 2024-09-09 (Mon, 09 Sep 2024)
Changed paths:
M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
M llvm/test/CodeGen/PowerPC/aix-xcoff-exception-section-debug.ll
M llvm/test/CodeGen/X86/pseudo_cmov_lower2.ll
A llvm/test/DebugInfo/X86/empty-line-info.ll
Log Message:
-----------
[DWARF] Emit a minimal line-table for totally empty functions (#107267)
In degenerate but legal inputs, we can have functions that have no source
locations at all -- all the DebugLocs attached to instructions are empty.
LLVM didn't produce any source location for the function; with this patch
it will at least emit the function-scope source location. Demonstrated by
empty-line-info.ll
The XCOFF test modified has similar symptoms -- with this patch, the size
of the ".dwline" section grows a bit, thus shifting some of the file
internal offsets, which I've updated.
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