llvm-riscv64-fix-cffi
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Wed, 1 Apr 2020 15:23:55 +0000 (16:23 +0100)
committerJessica Clarke <jrtc27@debian.org>
Wed, 1 Apr 2020 15:23:55 +0000 (16:23 +0100)
commitb1db32b2ab77a5fb514eb8b465323c8124c499bf
treecb0a7857ba94bcf051500ea71c8f607d2a926c2f
parent63a3a9eb4fb47e833a9f48f1c4a0840fcb71fa43
llvm-riscv64-fix-cffi

commit c6b09bff5671600f8e764d3847023d0996f328d9
Author: Luís Marques <luismarques@lowrisc.org>
Date:   Thu Nov 14 18:27:42 2019 +0000

    [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

Gbp-Pq: Name llvm-riscv64-fix-cffi.diff
llvm/lib/Target/RISCV/RISCVFrameLowering.cpp