[PATCH] D131485: [AMDGPU] Fix prologue/epilogue markers in .debug_line table for trivial functions
Venkata Ramanaiah Nalamothu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 9 04:27:59 PDT 2022
RamNalamothu created this revision.
RamNalamothu added reviewers: t-tye, scott.linder, kzhuravl, arsenm.
Herald added subscribers: kosarev, foad, kerbowa, hiraditya, tpr, dstuttard, yaxunl, nhaehnle, jvesely.
Herald added a project: All.
RamNalamothu requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.
All the prologue instructions should have unknown source location
co-ordinates while the epilogue instructions should have source
location of last non-debug instruction after which epilogue
instructions are insrted.
This ensures the prologue/epilogue markers are generated correctly
in the line table.
Changes are brought in from the downstream CFI patches.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D131485
Files:
llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
llvm/test/CodeGen/AMDGPU/prologue-epilogue-markers.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131485.451106.patch
Type: text/x-patch
Size: 5745 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220809/28eb1bd9/attachment.bin>
More information about the llvm-commits
mailing list