nodejs / llnode

An lldb plugin for Node.js and V8, which enables inspection of JavaScript states for insights into Node.js processes and their core dumps.
Other
1.15k stars 99 forks source link

test: update Error.stack test for V8 7.5 #327

Closed mmarchini closed 4 years ago

mmarchini commented 4 years ago

V8 7.5 changed how it caches the stringified stack on Error objects after the first access. Instead of replacing the accessor Error.stack with the stringified stack, the stringified stack is stored in the same Symbol which was used to store the FrameArray stack.

Ref: https://github.com/v8/v8/commit/c8206043e1afb6d179a68bb5a8c079de5e

mmarchini commented 4 years ago

Landed in f7f9347b19e1