aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h
diff options
context:
space:
mode:
authorYunze Zhu <yunzezhu@linux.alibaba.com>2023-08-25 09:57:20 +0800
committerYunze Zhu <yunzezhu@linux.alibaba.com>2023-09-19 10:35:16 +0800
commit544535976df69c9244d72a1a5a31970ca2c1a15f (patch)
treec40a86c9a4d5b041e6fae6a924933d565f548f0e /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h
parent4b7a08f0f8e23999ee79154f4f241790f51a044b (diff)
downloadllvm-544535976df69c9244d72a1a5a31970ca2c1a15f.zip
llvm-544535976df69c9244d72a1a5a31970ca2c1a15f.tar.gz
llvm-544535976df69c9244d72a1a5a31970ca2c1a15f.tar.bz2
[RISCV][MC]Add support for Binary MCExpr
There is an issue: https://github.com/llvm/llvm-project/issues/64612 This issue happens because in RISCVMCCodeEmitter::getImmOpValue it only handles MCExpr kind Target and SymbolRef. When code with format like .+ comes in, it comes with MCExpr kind Binary, the fixupkind remains fixup_riscv_invalid and reports error. This patch make MCExpr kind Binary handled with the same way as MCExpr kind SymbolRef, so code with binary expression can get correct fixupkind and be used to generate more complex relocation. Differential Revision: https://reviews.llvm.org/D157694
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h')
0 files changed, 0 insertions, 0 deletions