pengyaozong 53b327151c Fix function last line do not saved in pc2line table issue
pc2line table only saves the diff between lines, so the function end
next line is needed to generate the function's last line diff, the
previous code missed it.

This patch fixed it by change the line number generate logic a bit.

This bug is found on https://github.com/koush/quickjs, an unofficial
debugger implementation, push it to the upstream.

Signed-off-by: pengyaozong <pengyaozong@xiaomi.com>
2021-11-15 11:27:38 +08:00
2021-03-27 11:17:31 +01:00
2020-09-06 19:07:30 +02:00
2021-03-27 11:17:31 +01:00
2021-03-27 11:17:31 +01:00
2020-09-06 19:10:15 +02:00
2020-09-06 19:07:30 +02:00
2021-03-27 11:17:31 +01:00
2021-03-27 11:17:31 +01:00
2020-09-06 18:53:08 +02:00
2020-11-08 14:30:56 +01:00
2020-09-06 19:10:15 +02:00
2020-09-06 19:02:03 +02:00
2020-09-06 19:10:15 +02:00
2020-09-06 18:53:08 +02:00
2021-03-27 11:17:31 +01:00
2020-09-06 18:53:08 +02:00
2021-03-27 11:17:31 +01:00
2021-03-27 11:17:31 +01:00
2021-03-27 11:17:31 +01:00
2021-03-27 11:17:31 +01:00
2020-11-08 14:30:56 +01:00
2021-03-27 11:17:31 +01:00
2020-09-06 19:10:15 +02:00
2020-11-08 14:30:56 +01:00
2021-03-27 11:17:31 +01:00
2020-09-06 18:53:08 +02:00
2021-03-27 11:17:31 +01:00
2020-09-06 19:07:30 +02:00
2021-03-27 11:17:31 +01:00
2021-03-27 11:17:31 +01:00
2021-03-27 11:17:31 +01:00
2020-09-06 18:53:08 +02:00
2020-09-06 18:53:08 +02:00
2021-03-27 11:17:31 +01:00
2020-09-06 19:02:03 +02:00
2020-09-06 19:02:03 +02:00
2020-09-06 18:53:08 +02:00
2021-03-27 11:17:31 +01:00

The main documentation is in doc/quickjs.pdf or doc/quickjs.html.
Description
Public repository of the QuickJS Javascript Engine.
Readme MIT 28 MiB
Languages
C 94.1%
JavaScript 5.3%
Makefile 0.5%
Shell 0.1%