[PATCH] D114545: [CodeGen] Async unwind - add a pass to fix CFI information

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 30 15:44:06 PDT 2022


MaskRay added inline comments.


================
Comment at: llvm/lib/CodeGen/CFIFixup.cpp:195
+                     .addCFIIndex(CFIIndex);
+      ++InsertPt;
+      InsertMBB = &*CurrBB;
----------------
It would be nice to have a test that a cfi_remember_state is inserted after a cfi_restore_state.
Right now if I delete `++InsertPt` I don't break any test.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114545/new/

https://reviews.llvm.org/D114545



More information about the llvm-commits mailing list