diff options
author | Alex Bradbury <asb@lowrisc.org> | 2018-12-20 14:52:15 +0000 |
---|---|---|
committer | Alex Bradbury <asb@lowrisc.org> | 2018-12-20 14:52:15 +0000 |
commit | eb3a64a4da48ce30bd10c34cb57e7ea6a3e60289 (patch) | |
tree | de414744ad9bac45085b8483b5fb2f9dcc32236a /lldb/packages/Python/lldbsuite/test/python_api/sbstructureddata/TestStructuredDataAPI.py | |
parent | 09c081176a02159a467a52fc2e0878f1b3d3e43e (diff) | |
download | bcm5719-llvm-eb3a64a4da48ce30bd10c34cb57e7ea6a3e60289.tar.gz bcm5719-llvm-eb3a64a4da48ce30bd10c34cb57e7ea6a3e60289.zip |
[RISCV] Properly evaluate fixup_riscv_pcrel_lo12
This is a update to D43157 to correctly handle fixup_riscv_pcrel_lo12.
Notable changes:
Rebased onto trunk
Handle and test S-type
Test case pcrel-hilo.s is merged into relocations.s
D43157 description:
VK_RISCV_PCREL_LO has to be handled specially. The MCExpr inside is
actually the location of an auipc instruction with a VK_RISCV_PCREL_HI fixup
pointing to the real target.
Differential Revision: https://reviews.llvm.org/D54029
Patch by Chih-Mao Chen and Michael Spencer.
llvm-svn: 349764
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/sbstructureddata/TestStructuredDataAPI.py')
0 files changed, 0 insertions, 0 deletions