aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectProcess.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2021-06-17 17:09:22 +0000
committerSaleem Abdulrasool <abdulras@google.com>2021-06-17 13:35:32 -0700
commit116841c623747972d0ae80239d3ea7b8409b868b (patch)
tree16579b213b6120c664aa9828be330a26a8d1c047 /lldb/source/Commands/CommandObjectProcess.cpp
parent71e4d434dc83b02a853712a5cb026ee2fa9ba67f (diff)
downloadllvm-116841c623747972d0ae80239d3ea7b8409b868b.zip
llvm-116841c623747972d0ae80239d3ea7b8409b868b.tar.gz
llvm-116841c623747972d0ae80239d3ea7b8409b868b.tar.bz2
RISCV: clean up target expression handling
The target specific expression handling was slightly regressed by bbea64250f65480d787e1c5ff45c4de3ec2dcda8. This restores the proper sub-expression evaluation to allow for constant folding within the expression. We explicitly discard the layout and assembler when evaluating the expression to avoid any symbolic computation and instead using the `evaluateAsRelocatable` to canonicalise and constant fold only. We can also simplify the expression handling - none of the target variants support symbolic difference. This simplifies the logic for that and adds additional tests to ensure that we do not accidentally regress here in the future. Reviewed By: maskray Differential Revision: https://reviews.llvm.org/D104473
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
0 files changed, 0 insertions, 0 deletions