Skip to content

Commit 0a90700

Browse files
authored
Merge pull request #66802 from al45tair/eng/PR-110846253-5.9
[Backtracing] Fix crash in CrashAsync test on Ubuntu 18.04.
2 parents f4dbf0f + d63b981 commit 0a90700

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/Backtracing/FramePointerUnwinder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public struct FramePointerUnwinder<C: Context, M: MemoryReader>: Sequence, Itera
161161
return nil
162162
}
163163

164-
if next <= fp {
164+
if next <= fp || pc == 0 {
165165
return nil
166166
}
167167

0 commit comments

Comments
 (0)