llvm-project
c8c0e902 - [BOLT] Ensure remember and restore CFIs are in the same list (#144348)

Commit
153 days ago
[BOLT] Ensure remember and restore CFIs are in the same list (#144348) In `addCFIInstruction`, we split the CFI information between `CFIInstrMapType CIEFrameInstructions` and `CFIInstrMapType FrameInstructions`. In some cases we can end up with the remember CFI in `CIEFrameInstructions` and the restore CFI in `FrameInstructions`. This patch adds a check to make sure we do not split remember and restore states and fixes https://github.com/llvm/llvm-project/issues/133501.
Author
Parents
Loading