[X86] add dwarf information for loop stack probe
This patch is based on https://reviews.llvm.org/D99585 . While inside the stack probing loop, temporarily change the CFA to be based on r11/eax, which are already used to hold the loop bound. The stack pointer cannot be used for CFI here as it changes during the loop, so it does not have a constant offset to the CFA. Co-authored-by:YangKeao <keao.yang@yahoo.com> Reviewed By: nagisa Differential Revision: https://reviews.llvm.org/D116628
Loading
Please sign in to comment