We discovered the bug
If the function has no red zone, cfi of the popped callee-saved-registers should be invalidated with .cfi_restore instruction.
This commit will emit .cfi_restore instruction after popping callee-saved-registers if no red zone.
Details
Details
- Reviewers
craig.topper thegameg
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I am going to add test.
This bug should be fixed?
If so, I will do that.
And, it would be okay if I add a simple test?