[all-commits] [llvm/llvm-project] 16c287: Reland "[lldb][DWARFExpression] Fix DW_OP_div to u...
jwnhy via All-commits
all-commits at lists.llvm.org
Fri May 5 03:45:26 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 16c2872d7b09eee67dd0c7ef6b5dd3c3724d3cfc
https://github.com/llvm/llvm-project/commit/16c2872d7b09eee67dd0c7ef6b5dd3c3724d3cfc
Author: LU Hongyi <hluaw at connect.ust.hk>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M lldb/source/Expression/DWARFExpression.cpp
A lldb/test/Shell/SymbolFile/DWARF/x86/DW_OP_div-with-signed.s
Log Message:
-----------
Reland "[lldb][DWARFExpression] Fix DW_OP_div to use signed division"
This patch resolves an issue where a value
is incorrectly displayed if it is represented
by DW_OP_div.
This issue is caused by lldb evaluating
operands of DW_OP_div as unsigned
and performed unintended unsigned
division.
This issue is resolved by creating two
temporary signed scalar and performing
signed division.
(Addresses GH#61727)
Differential Revision: https://reviews.llvm.org/D147370
More information about the All-commits
mailing list