-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
src: fixes for V8 6.9 and 7.0 #247
Conversation
073251a
to
404398e
Compare
Codecov Report
@@ Coverage Diff @@
## master #247 +/- ##
===========================================
+ Coverage 80.84% 92.43% +11.58%
===========================================
Files 33 8 -25
Lines 4120 476 -3644
===========================================
- Hits 3331 440 -2891
+ Misses 789 36 -753
Continue to review full report at Codecov.
|
|
While working on this I noticed we use For example: llnode was unable to output the content of IMO we should change the code to be more tolerant when it can't decode only a piece of information. Most users of llnode use it to analyze core dumps, which may have corrupted memory addresses, and being fault-tolerant is essential to analyze such core dumps. We should move most occurrences of This would also allow llnode to work better for future Node.js versions, with fewer features affected by V8 changes. |
This is ready for review :) cc @nodejs/llnode |
CI failures are coming from recent changes in core (bisected and found nodejs/node#26382 to be the reason). Since apparently we were relying on a type indirectly defined internally on core ( |
- PositionInfo removed from SFI and PreParsedData ((v8/v8@39e2d97)[]) - PositionInfo is now available on ScopeInfo or UncompiledData - DebugInfo was removed from SFI ((v8/v8@c51bcd1)[]) - InferredName is available on ScopeInfo or UncompiledData ((v8/v8@c941f11)[]) - StackLocal removed from ScopeInfo ((v8/v8@467eb14)[]) - ParamCount (from ScopeInfo) size decreased ((v8/v8@53d4dfc)[]) [v8/v8@39e2d97]: v8/v8@39e2d97 [v8/v8@c51bcd1]: v8/v8@c51bcd1 [v8/v8@c941f11]: v8/v8@c941f11 [v8/v8@467eb14]: v8/v8@467eb14 [v8/v8@53d4dfc]: v8/v8@53d4dfc
CI is green. I'll start working on fixes for Node.js v12 (V8 7.1 to 7.6) in the next few days in an attempt to have llnode working on 12 soon after it goes LTS. But it would be nice to merge this first. cc @nodejs/llnode @nodejs/diagnostics |
- PositionInfo removed from SFI and PreParsedData ((v8/v8@39e2d97)[]) - PositionInfo is now available on ScopeInfo or UncompiledData - DebugInfo was removed from SFI ((v8/v8@c51bcd1)[]) - InferredName is available on ScopeInfo or UncompiledData ((v8/v8@c941f11)[]) - StackLocal removed from ScopeInfo ((v8/v8@467eb14)[]) - ParamCount (from ScopeInfo) size decreased ((v8/v8@53d4dfc)[]) [v8/v8@39e2d97]: v8/v8@39e2d97 [v8/v8@c51bcd1]: v8/v8@c51bcd1 [v8/v8@c941f11]: v8/v8@c941f11 [v8/v8@467eb14]: v8/v8@467eb14 [v8/v8@53d4dfc]: v8/v8@53d4dfc PR-URL: #247 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
PR-URL: #247 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Landed in 99d06e7...13f7034 😄 |
Several fixes for V8 6.9 (#202, #226) and 7.0 (#232). Still a work in progress though, I'm sending a PR to run CI on these changes.
TODO