[all-commits] [llvm/llvm-project] c6b09b: [RISCV] Fix wrong CFI directives

Luís Marques via All-commits all-commits at lists.llvm.org
Thu Nov 14 10:30:06 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c6b09bff5671600f8e764d3847023d0996f328d9
      https://github.com/llvm/llvm-project/commit/c6b09bff5671600f8e764d3847023d0996f328d9
  Author: Luís Marques <luismarques at lowrisc.org>
  Date:   2019-11-14 (Thu, 14 Nov 2019)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
    M llvm/test/CodeGen/RISCV/exception-pointer-register.ll
    M llvm/test/CodeGen/RISCV/frame-info.ll
    M llvm/test/CodeGen/RISCV/large-stack.ll
    M llvm/test/CodeGen/RISCV/split-offsets.ll
    M llvm/test/CodeGen/RISCV/vararg.ll
    M llvm/test/DebugInfo/RISCV/relax-debug-frame.ll

  Log Message:
  -----------
  [RISCV] Fix wrong CFI directives

Summary: Removes CFI CFA directives that could incorrectly propagate
beyond the basic block they were inteded for. Specifically it removes
the epilogue CFI directives. See the branch_and_tail_call test for an
example of the issue. Should fix the stack unwinding issues caused by
the incorrect directives.

Reviewers: asb, lenary, shiva0217
Reviewed By: lenary
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69723




More information about the All-commits mailing list