]> granicus.if.org Git - llvm/commit
[RISCV] Set correct encodings for DWARF exception handling
authorAlex Bradbury <asb@lowrisc.org>
Wed, 17 Jul 2019 13:54:38 +0000 (13:54 +0000)
committerAlex Bradbury <asb@lowrisc.org>
Wed, 17 Jul 2019 13:54:38 +0000 (13:54 +0000)
commitfdc09720280a3dd901b12f5097963cbad8866fb4
tree2c1060b3af4eff9076282bf9d1db6644e7c1bb71
parent10494e0311e42930fafdb15e576e20681c661687
[RISCV] Set correct encodings for DWARF exception handling

This patch sets correct encodings for DWARF exception handling for RISC-V
(other than call site encoding, which must be udata4 rather than uleb128 and
is handled by D63415).

This has the same intend as D63409, except this version matches GCC/binutils
behaviour which uses the same encodings regardless of PIC/non-PIC and
medlow/medany code model.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366327 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
test/CodeGen/RISCV/dwarf-eh.ll