Commit 14ae5f3
authored
[lldb] Allow division by floating point zero in Scalar (llvm#158115)
`Scalar` produced an invalid value when detecting any division by zero.
This should be only for integer division.1 parent 3b48c64 commit 14ae5f3
File tree
2 files changed
+9
-2
lines changed- lldb
- source/Utility
- unittests/Utility
2 files changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
565 | 565 | | |
566 | 566 | | |
567 | 567 | | |
568 | | - | |
569 | | - | |
| 568 | + | |
570 | 569 | | |
571 | 570 | | |
572 | 571 | | |
573 | 572 | | |
| 573 | + | |
| 574 | + | |
574 | 575 | | |
575 | 576 | | |
576 | 577 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
340 | 346 | | |
341 | 347 | | |
342 | 348 | | |
| |||
0 commit comments