Skip to content

src,test: support V8 6.1 postmortem data#130

Merged
hhellyer merged 2 commits intonodejs:masterfrom
cjihrig:turbofan
Sep 8, 2017
Merged

src,test: support V8 6.1 postmortem data#130
hhellyer merged 2 commits intonodejs:masterfrom
cjihrig:turbofan

Conversation

@cjihrig
Copy link
Contributor

@cjihrig cjihrig commented Sep 1, 2017

This is still a work in progress, but adds postmortem debugging support for V8 6.1. The following issues still need to be resolved (all marked with TODO in the code):

  • Properly handle the end offset of function bodies. It previously needed to be shifted, but that is no longer the case. This just needs version detection logic.
  • Properly load the ThinStringTag constant. V8DBG_THINSTRINGTAG appears to be defined, but the constant isn't loading. Right now, the value of 0x5 is hard coded.
  • Support Uint8Arrays. Those tests are currently broken and commented out. The problem is that the backing store of the JSArrayBufferView's JSArrayBuffer is coming back as all zeros.

UPDATE: The issue with the Uint8Arrays is that the backing stores are not materialized. If the test is updated to reference the .buffer property, the backing store is materialized and shows up properly in llnode.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants