[all-commits] [llvm/llvm-project] 3acfef: [libunwind][RISCV] Make asm statement volatile (#1...

Gergely Futo via All-commits all-commits at lists.llvm.org
Mon Mar 10 02:13:54 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3acfef56b1c5f74edd6ea2111a440677ea2c6763
      https://github.com/llvm/llvm-project/commit/3acfef56b1c5f74edd6ea2111a440677ea2c6763
  Author: Gergely Futo <gergely.futo at hightec-rt.com>
  Date:   2025-03-10 (Mon, 10 Mar 2025)

  Changed paths:
    M libunwind/src/Registers.hpp

  Log Message:
  -----------
  [libunwind][RISCV] Make asm statement volatile (#130286)

Compiling with `O3`, the `early-machinelicm` pass hoisted the asm
statement to a path that has been executed unconditionally during stack
unwinding. On hardware without vector extension support, this resulted
in reading a nonexistent register.



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