[all-commits] [llvm/llvm-project] 6a8082: [DebugInfo] add test case for D147506, NFC
Chen Zheng via All-commits
all-commits at lists.llvm.org
Wed May 3 21:37:50 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6a808270e8a9becc07857240ebbf6731743a4485
https://github.com/llvm/llvm-project/commit/6a808270e8a9becc07857240ebbf6731743a4485
Author: Chen Zheng <czhengsz at cn.ibm.com>
Date: 2023-05-04 (Thu, 04 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: b48a8233f5e230e46182bf5c523ceb6a04cec8f5
https://github.com/llvm/llvm-project/commit/b48a8233f5e230e46182bf5c523ceb6a04cec8f5
Author: Chen Zheng <czhengsz at cn.ibm.com>
Date: 2023-05-04 (Thu, 04 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
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/7aeb1536a1a1...b48a8233f5e2
More information about the All-commits
mailing list