Commit e15d6b5
[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/D1473701 parent 2cdb6b8 commit e15d6b5
File tree
2 files changed
+474
-2
lines changed- lldb
- source/Expression
- test/Shell/SymbolFile/DWARF/x86
2 files changed
+474
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1436 | 1436 | | |
1437 | 1437 | | |
1438 | 1438 | | |
1439 | | - | |
1440 | | - | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
1441 | 1445 | | |
1442 | 1446 | | |
1443 | 1447 | | |
| |||
0 commit comments