mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Summary: CodeView does not recognize zero as an artificial line location and so a line location of zero causes unexpected behavior when stepping through user code. If we find a line location of zero and our scope has not changed, we use the most recent debug location. That is expected to be the user code that most likely relates to the current instruction and is similar to the behavior in LLDB. Test Plan: test/DebugInfo/linetable-codeview.swift
24 KiB
24 KiB