swift
fd00b7d3 - [Backtracer][DWARF] Fix SLEB128 sign extension code.

Commit
100 days ago
[Backtracer][DWARF] Fix SLEB128 sign extension code. If we read a full 9 bytes of data, the sign extension code causes a numerical trap because it's trying to negate `Int64.min`. Fix the sign extension code to shift `Int64(-1)` instead of shifting `1` and trying to negate afterwards. rdar://184806813 assisted-by: claude
Author
Committer
Parents
Loading