[Backtracing] Fix compact image map decoding bug.

If we ended up with a `/` at the beginning of a string segment, we
were erroneously not adding to the expansion dictionary when we
should have been.

rdar://124913332
This commit is contained in:
Alastair Houghton
2025-01-22 16:35:44 +00:00
parent ca86836133
commit 12aee901c2
2 changed files with 22 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ public struct ImageMap: Collection, Sendable, Hashable {
/// Tells us what size of machine words were used when capturing the
/// image map.
enum WordSize {
enum WordSize: Sendable {
case sixteenBit
case thirtyTwoBit
case sixtyFourBit