[all-commits] [llvm/llvm-project] 971d98: Do not optimize debug locations across section bou...
pcalixte via All-commits
all-commits at lists.llvm.org
Mon May 8 17:13:36 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 971d982bd45c3c3544dcf8d1e67df39e8c063877
https://github.com/llvm/llvm-project/commit/971d982bd45c3c3544dcf8d1e67df39e8c063877
Author: Pierre Calixte <pierre.calixte at mediatek.com>
Date: 2023-05-09 (Tue, 09 May 2023)
Changed paths:
M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
A llvm/test/DebugInfo/X86/basic-block-sections-debug-lineinfo-at-section-boundary.ll
Log Message:
-----------
Do not optimize debug locations across section boundaries
Prevent optimization of DebugLoc across section boundaries, such optimization will yield incorrect source location if memory layout of sections does not strictly match the Asm file.
Reviewed By: #debug-info, dblaikie, MaskRay
Differential Revision: https://reviews.llvm.org/D149294
More information about the All-commits
mailing list