src: enable detailed source positions in V8
Enable detailed source positions in generated code. When profiling, this gives a better mapping between profile samples to source text.
This is a second attempt. The previous one was reverted due to a small mistake when floating the related V8 patch.
Refs: https://github.com/nodejs/node/pull/24274 Refs: https://github.com/nodejs/node/pull/24394 Refs: https://github.com/nodejs/node/issues/24393
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
make -j4 test-v8
passes -
commit message follows commit guidelines