[PATCH] D99579: [X86] add dwarf annotation for inline stack probe
YangKeao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 30 05:02:46 PDT 2021
YangKeao created this revision.
Herald added subscribers: pengfei, hiraditya.
YangKeao requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
While probing stack, the stack register is moved without dwarf
information, which could cause panic if unwind the backtrace.
This commit only add annotation for the inline stack probe case.
Dwarf information for the loop case should be done in another
patch and need further discussion.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D99579
Files:
llvm/lib/Target/X86/X86FrameLowering.cpp
llvm/lib/Target/X86/X86FrameLowering.h
llvm/test/CodeGen/X86/stack-clash-medium-natural-probes-mutliple-objects.ll
llvm/test/CodeGen/X86/stack-clash-medium-natural-probes.ll
llvm/test/CodeGen/X86/stack-clash-medium.ll
llvm/test/CodeGen/X86/stack-clash-unknown-call.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99579.334115.patch
Type: text/x-patch
Size: 6374 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210330/8a7327f7/attachment.bin>
More information about the llvm-commits
mailing list