[all-commits] [llvm/llvm-project] caae57: Emit correct location lists with basic block secti...
Sriraman Tallam via All-commits
all-commits at lists.llvm.org
Wed May 26 17:16:16 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: caae570978c490a137921b9516162a382831209e
https://github.com/llvm/llvm-project/commit/caae570978c490a137921b9516162a382831209e
Author: Sriraman Tallam <tmsriram at google.com>
Date: 2021-05-26 (Wed, 26 May 2021)
Changed paths:
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
A llvm/test/DebugInfo/X86/basic-block-sections-debug-loc-const-value-1.ll
A llvm/test/DebugInfo/X86/basic-block-sections-debug-loc-const-value-2.ll
A llvm/test/DebugInfo/X86/basic-block-sections-debug-loc-split-range.ll
M llvm/test/DebugInfo/X86/basic-block-sections-debug-loc.ll
A llvm/test/DebugInfo/X86/basic-block-sections-debug-loclist-1.ll
A llvm/test/DebugInfo/X86/basic-block-sections-debug-loclist-2.ll
A llvm/test/DebugInfo/X86/basic-block-sections-debug-loclist-3.ll
A llvm/test/DebugInfo/X86/basic-block-sections-debug-loclist-4.ll
A llvm/test/DebugInfo/X86/basic-block-sections-debug-loclist-5.ll
M llvm/test/DebugInfo/X86/basic-block-sections_1.ll
Log Message:
-----------
Emit correct location lists with basic block sections.
This patch addresses multiple things:
1) It ensures that const_value is emitted when possible with basic block
sections.
2) It emits location lists such that the labels are always within the
section boundary.
3) It fixes a bug when the parameter is first used in a non-entry block
which is in a different section from the entry block.
Differential Revision: https://reviews.llvm.org/D85085
More information about the All-commits
mailing list