History log of /llvm-project/llvm/test/DebugInfo/ARM/align-func-start.ll (Results 1 – 1 of 1)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-21-init, llvmorg-19.1.7, llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4, llvmorg-19.1.3, llvmorg-19.1.2, llvmorg-19.1.1
# c808e665 26-Sep-2024 Oliver Stannard <oliver.stannard@arm.com>

[DebugInfo] Don't emit .loc directive with all values zero (#109978)

When emitting debug info for code alignment, it was possible to emit a
.loc directive with a file number of zero, which is inval

[DebugInfo] Don't emit .loc directive with all values zero (#109978)

When emitting debug info for code alignment, it was possible to emit a
.loc directive with a file number of zero, which is invalid for DWARF 4
and earlier. This happened because getCurrentDwarfLoc() returned a
zero-initialised value when there hadn't been a previous .loc directive
emitted.

---------

Co-authored-by: Paul T Robinson <paul.robinson@sony.com>

show more ...