Skip to content
Commit a8ac117d authored by Erik Desjardins's avatar Erik Desjardins Committed by Phoebe Wang
Browse files

[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: default avatarYangKeao <keao.yang@yahoo.com>

Reviewed By: nagisa

Differential Revision: https://reviews.llvm.org/D116628
parent f3a344d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment