[llvm] [BOLT] Ensure remember and restore CFIs are in the same list (PR #144348)
Paschalis Mpeis via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 7 04:09:27 PDT 2025
================
@@ -1663,7 +1663,8 @@ class BinaryFunction {
Offset = I->first;
}
assert(I->first == Offset && "CFI pointing to unknown instruction");
- if (I == Instructions.begin()) {
+ if (I == Instructions.begin() &&
----------------
paschalis-mpeis wrote:
nit: maybe worth adding a comment that we put this CFI in the `FrameInstructions` instead, so we can properly populate `StateStack` ?
https://github.com/llvm/llvm-project/pull/144348
More information about the llvm-commits
mailing list