[PATCH] D121107: [DebugInfo][SROA] Correct debug info for global variables in case of SROA
Alok Kumar Sharma via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 7 04:22:01 PST 2022
alok created this revision.
alok added reviewers: aprantl, jmorse, djtodoro, jini.susan.
alok added a project: debug-info.
Herald added subscribers: ormris, hiraditya.
Herald added a reviewer: sscalpone.
Herald added a project: All.
alok requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
The function transferSRADebugInfo is modified to include missing cases.
The existing handling produced crash for test case (attached with patch).
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D121107
Files:
llvm/lib/Transforms/IPO/GlobalOpt.cpp
llvm/test/DebugInfo/Generic/global-sra-struct-fit-segment.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121107.413417.patch
Type: text/x-patch
Size: 8156 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220307/1946181b/attachment.bin>
More information about the llvm-commits
mailing list