llvm-riscv64-fix-cffi
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Thu, 23 Jan 2020 13:30:57 +0000 (13:30 +0000)
committerGianfranco Costamagna <locutusofborg@debian.org>
Thu, 23 Jan 2020 13:30:57 +0000 (13:30 +0000)
commit36b6224a3b57875b53bb476db414e3bdb343e4d0
treeaf25466c4b697b73af722d787cee3efc1e71b8c9
parentefcbdb7dbbb9b3629896321b42c62e6424b7c663
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