There is no guarantee that files will end up stored contiguously in the debug_line section which makes this optimization wrong in the general case. In particular with recent versions of go1.11 and a go.mod file present the go compiler seems to sometimes produce executables that actually violate this assumption. |
||
|---|---|---|
| .. | ||
| line_parser_test.go | ||
| line_parser.go | ||
| state_machine.go | ||