[all-commits] [llvm/llvm-project] c8c0e9: [BOLT] Ensure remember and restore CFIs are in the...

Asher Dobrescu via All-commits all-commits at lists.llvm.org
Thu Jul 10 07:49:19 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c8c0e90233787dba9f069d8f559dffeb31f8e357
      https://github.com/llvm/llvm-project/commit/c8c0e90233787dba9f069d8f559dffeb31f8e357
  Author: Asher Dobrescu <asher.dobrescu at gmail.com>
  Date:   2025-07-10 (Thu, 10 Jul 2025)

  Changed paths:
    M bolt/include/bolt/Core/BinaryFunction.h
    A bolt/test/AArch64/cfi-state-list.test

  Log Message:
  -----------
  [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.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list