[all-commits] [llvm/llvm-project] 9a8934: [DebugInfo] add test case for D147506, NFC
Chen Zheng via All-commits
all-commits at lists.llvm.org
Tue May 9 18:21:19 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9a89347c74ea111fb33277370f2c8842fa1949f7
https://github.com/llvm/llvm-project/commit/9a89347c74ea111fb33277370f2c8842fa1949f7
Author: Chen Zheng <czhengsz at cn.ibm.com>
Date: 2023-05-10 (Wed, 10 May 2023)
Changed paths:
A llvm/test/DebugInfo/XCOFF/empty-prolog.ll
Log Message:
-----------
[DebugInfo] add test case for D147506, NFC
[DebugLine] save one debug line entry for empty prologue
Commit: fb45493562be02a2898d0a97afc833a8974adb18
https://github.com/llvm/llvm-project/commit/fb45493562be02a2898d0a97afc833a8974adb18
Author: Chen Zheng <czhengsz at cn.ibm.com>
Date: 2023-05-10 (Wed, 10 May 2023)
Changed paths:
M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/combine-shift-of-shifted-dbg-value-fallback.ll
M llvm/test/DebugInfo/XCOFF/empty-prolog.ll
M llvm/test/DebugInfo/XCOFF/explicit-section.ll
M llvm/test/DebugInfo/XCOFF/function-sections.ll
M llvm/test/MC/WebAssembly/debug-info.ll
M llvm/test/MC/WebAssembly/debug-info64.ll
Log Message:
-----------
[DebugLine] save one debug line entry for empty prologue
Reland D147506 after fixing the failure in bot
https://lab.llvm.org/buildbot/#/builders/247/builds/4125
Some debuggers like DBX on AIX assume the address in debug line
entries is always incremental. But clang generates two entries (entry
for file scope line and entry for prologue end) with same address if
prologue is empty
And if the prologue is empty, seems the first debug line entry for the
function is unnecessary(i.e. removing the first entry won't impact the
behavior in GDB on Linux), so I implement this for all debuggers.
Reviewed By: dblaikie
Differential Revision: https://reviews.llvm.org/D147506
Compare: https://github.com/llvm/llvm-project/compare/9c07aa75b961...fb45493562be
More information about the All-commits
mailing list