Rich Trott
c4c10d1c09
doc,events: use code markup/markdown in headers
...
Backport-PR-URL: https://github.com/nodejs/node/pull/31108
PR-URL: https://github.com/nodejs/node/pull/31086
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2020-02-06 02:48:45 +00:00
Rich Trott
c4503ea987
doc,esm: use code markup/markdown in headers
...
Backport-PR-URL: https://github.com/nodejs/node/pull/31108
PR-URL: https://github.com/nodejs/node/pull/31086
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2020-02-06 02:48:45 +00:00
Rich Trott
69da6110ab
doc,errors: use code markup/markdown in headers
...
Backport-PR-URL: https://github.com/nodejs/node/pull/31108
PR-URL: https://github.com/nodejs/node/pull/31086
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2020-02-06 02:48:45 +00:00
Rich Trott
0a29db286d
doc,domain: use code markup/markdown in headers
...
Backport-PR-URL: https://github.com/nodejs/node/pull/31108
PR-URL: https://github.com/nodejs/node/pull/31086
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2020-02-06 02:48:44 +00:00
Rich Trott
c2ad43af89
doc,dgram: use code markup/markdown in headers
...
Backport-PR-URL: https://github.com/nodejs/node/pull/31108
PR-URL: https://github.com/nodejs/node/pull/31086
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2020-02-06 02:48:44 +00:00
Rich Trott
448a1178fa
doc: use code markup/markdown in headers in deprecations documentation
...
Backport-PR-URL: https://github.com/nodejs/node/pull/31108
PR-URL: https://github.com/nodejs/node/pull/31086
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2020-02-06 02:48:44 +00:00
Rich Trott
67637c652b
doc,crypto: use code markup/markdown in headers
...
Backport-PR-URL: https://github.com/nodejs/node/pull/31108
PR-URL: https://github.com/nodejs/node/pull/31086
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2020-02-06 02:48:44 +00:00
Rich Trott
54e41cebbd
doc,console: use code markup/markdown in headers
...
Backport-PR-URL: https://github.com/nodejs/node/pull/31108
PR-URL: https://github.com/nodejs/node/pull/31086
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2020-02-06 02:48:44 +00:00
Rich Trott
8eecc56cd3
doc,cluster: use code markup/markdown in headers
...
Backport-PR-URL: https://github.com/nodejs/node/pull/31108
PR-URL: https://github.com/nodejs/node/pull/31086
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2020-02-06 02:48:44 +00:00
Rich Trott
8a5fe08fd4
doc,child_process: use code markup/markdown in headers
...
Backport-PR-URL: https://github.com/nodejs/node/pull/31108
PR-URL: https://github.com/nodejs/node/pull/31086
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2020-02-06 02:48:44 +00:00
Rich Trott
a96590a69f
doc,buffer: use code markup/markdown in headers
...
Backport-PR-URL: https://github.com/nodejs/node/pull/31108
PR-URL: https://github.com/nodejs/node/pull/31086
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2020-02-06 02:48:44 +00:00
Rich Trott
da25662fc8
doc,async_hooks: use code markup/markdown in headers
...
Backport-PR-URL: https://github.com/nodejs/node/pull/31108
PR-URL: https://github.com/nodejs/node/pull/31086
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2020-02-06 02:48:43 +00:00
Rich Trott
2885bdbc56
doc,assert: use code markup/markdown in headers
...
Backport-PR-URL: https://github.com/nodejs/node/pull/31108
PR-URL: https://github.com/nodejs/node/pull/31086
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2020-02-06 02:48:43 +00:00
Rich Trott
b5a19bcf65
doc: use code markup/markdown in headers in addons documentation
...
Backport-PR-URL: https://github.com/nodejs/node/pull/31108
PR-URL: https://github.com/nodejs/node/pull/31086
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2020-02-06 02:48:43 +00:00
Rich Trott
135097f845
doc,dns: use code markup/markdown in headers
...
This will allow us to lint for use of `hostname` in prose without
flagging `hostname` in code within headers. This also allows us to
remove backslash escaping for `[` and `]` inside of header code, which
makes the bare markdown more readable.
Backport-PR-URL: https://github.com/nodejs/node/pull/31108
PR-URL: https://github.com/nodejs/node/pull/31086
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2020-02-06 02:48:43 +00:00
Rich Trott
2f2f79d8eb
doc: allow <code> in header elements
...
Allow use of <code> in header elements without styling side effects. We
can add styling later if desired. The goal here is to allow code to be
set off in markdown without needing to escape characters and do lint
exceptions for terms. This is probably a win in terms of accessibility
too although it would be moreso if we had some visual differentiation
for <code> inside of headers. As mentioned above, that can always be
added at a later time.
Backport-PR-URL: https://github.com/nodejs/node/pull/31108
PR-URL: https://github.com/nodejs/node/pull/31086
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2020-02-06 02:48:43 +00:00
Gabriel Schulhof
766c2abff3
build: warn upon --use-largepages config option
...
Emit a warning when the user configures with `--use-largepages` and/or
`--use-largepages-script-lld` informing them that the option is now
available as a Node.js runtime option once it is built.
Refs: https://github.com/nodejs/node/pull/31063#discussion_r361143460
Backport-PR-URL: https://github.com/nodejs/node/pull/31063
PR-URL: https://github.com/nodejs/node/pull/31103
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Denys Otrishko <shishugi@gmail.com >
2020-02-06 02:48:43 +00:00
Denys Otrishko
330eb10404
src: make large_pages node.cc include conditional
...
The usage of the relevant methods from the file is conditional so make
the include conditional too.
Backport-PR-URL: https://github.com/nodejs/node/pull/31063
PR-URL: https://github.com/nodejs/node/pull/31078
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: David Carlier <devnexen@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-02-06 02:48:42 +00:00
bcoe
e67b3608af
build: switch realpath to pwd
...
Backport-PR-URL: https://github.com/nodejs/node/pull/31063
PR-URL: https://github.com/nodejs/node/pull/31095
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2020-02-06 02:48:42 +00:00
Gabriel Schulhof
332b343f50
build: re-introduce --use-largepages as no-op
...
Re-introduce the build-time option as a no-op in order to retain
backward compatibility for LTS purposes.
Re: https://github.com/nodejs/node/pull/31063#pullrequestreview-336045756
Backport-PR-URL: https://github.com/nodejs/node/pull/31063
PR_URL: https://github.com/nodejs/node/pull/31075
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2020-02-06 02:48:42 +00:00
Gabriel Schulhof and David Carlier
84863994a3
src: make --use-largepages a runtime option
...
Moves the option that instructs Node.js to-remap its static code to
large pages from a configure-time option to a runtime option. This
should make it easy to assess the performance impact of such a change
without having to custom-build.
Backport-PR-URL: https://github.com/nodejs/node/pull/31063
PR-URL: https://github.com/nodejs/node/pull/30954
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: David Carlier <devnexen@gmail.com >
Reviewed-By: David Carlier <devnexen@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Denys Otrishko <shishugi@gmail.com >
Co-authored-by: David Carlier <devnexen@gmail.com >
2020-02-06 02:48:42 +00:00
Jimb Esser
2445bc0d48
http: fix monkey-patching of http_parser
...
Fixes inability to monkey-patch the HTTP Parser on Node v12.x.
This is not an issue on Node v13+ since the parser was renamed
back to the old (already monkey-patchable) `http_parser` name,
however the test in master could also use updating.
Fixes: https://github.com/creationix/http-parser-js/issues/65
PR-URL: https://github.com/nodejs/node/pull/30222
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2020-02-06 02:48:42 +00:00
Anna Henningsen
8d336ff796
deps,src: patch V8 to be API/ABI compatible with 7.4 (from 7.8)
...
deps: revert 2ac8bb719 from upstream V8
Original commit message:
profiler: Allow querying SnapshotObjectId for native objects
- Adds regular native heap entries to the HeapObjectsMap.
- Adds a side map for keeping a mapping of native objects to their canonical
heap entry that they have been merged into.
Change-Id: Ida00628126ded1948ceb2a0cbe14da817af7f361
Bug: chromium:988350
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1720810
Commit-Queue: Michael Lippautz <mlippautz@chromium.org >
Reviewed-by: Alexei Filippov <alph@chromium.org >
Reviewed-by: Ulan Degenbaev <ulan@chromium.org >
Cr-Commit-Position: refs/heads/master@{#63140}
Refs: https://github.com/v8/v8/commit/2ac8bb719992296a70463f549aef55d037cbe436
[The `SuppressMicrotaskExecutionScope` hack only works because
the constructor that allows specifying an alternative microtask
queue was never actually implemented.]
deps: revert fb698cec37 from upstream V8
Original commit message:
[isolate-data] Move hot fields closer to isolate_root
In generated code, we access fields inside IsolateData through the
root-register. On some platforms it is significantly cheaper to access
things that are close to the root-register value than things that are
located far away. The motivation for this CL was a 5% difference in
Octane/Mandreel scores between
// Part of the stack check.
cmpq rsp,[r13+0x9ea8]
and
cmpq rsp,[r13-0x30] // Mandreel score improved by 5%.
This moves the StackGuard up to fix Mandreel. As a drive-by, also move
two more fields up that are accessed by each CallCFunction.
Tbr: yangguo@chromium.org
Bug: v8:9534,chromium:993264
Change-Id: I5418b63d40274a138e285fa3c99b96e33a814fb1
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1751345
Reviewed-by: Jakob Gruber <jgruber@chromium.org >
Reviewed-by: Yang Guo <yangguo@chromium.org >
Auto-Submit: Jakob Gruber <jgruber@chromium.org >
Commit-Queue: Yang Guo <yangguo@chromium.org >
Cr-Commit-Position: refs/heads/master@{#63187}
Refs: https://github.com/v8/v8/commit/fb698cec37c6f082917436fa14bb800f17753ccc
src: re-add flags removed in V8 7.8 as no-ops
PR-URL: https://github.com/nodejs/node/pull/30109
Reviewed-By: Myles Borins <myles.borins@gmail.com >
2020-02-06 02:48:42 +00:00
Michaël Zasso and Anna Henningsen
b335529803
deps: patch V8 to be API/ABI compatible with 7.4 (from 7.7)
...
Co-authored-by: Anna Henningsen <anna@addaleax.net >
Backport-PR-URL: https://github.com/nodejs/node/pull/30109
PR-URL: https://github.com/nodejs/node/pull/29241
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2020-02-06 02:48:42 +00:00
Michaël Zasso and Anna Henningsen
499ccdcf03
deps: patch V8 to be API/ABI compatible with 7.4 (from 7.6)
...
Reverts https://github.com/v8/v8/commit/4214933c6bb4d1815f07a40eaf008cb1e37ef217 .
Reverts https://github.com/v8/v8/commit/c76f377a990343b18953123c2726337b38c59812 .
Reverts https://github.com/v8/v8/commit/e0d7f816990ada28ebe1281ca9431236ef8c6e4f .
Co-authored-by: Anna Henningsen <anna@addaleax.net >
Backport-PR-URL: https://github.com/nodejs/node/pull/30109
Backport-PR-URL: https://github.com/nodejs/node/pull/29241
PR-URL: https://github.com/nodejs/node/pull/28955
2020-02-06 02:48:42 +00:00
Michaël Zasso
bb616bb06b
deps: patch V8 to be API/ABI compatible with 7.4 (from 7.5)
...
Reverts https://github.com/v8/v8/commit/1b51dca30d697a448f70fdf3e11c8491b122f4ee
Reverts https://github.com/v8/v8/commit/1ab717db8495b4ad40d2754dd0ba2b339c9c80a4
Partially reverts https://github.com/v8/v8/commit/b0077b3b50e551a10d8ef4fabfe18f9005494b5a
Backport-PR-URL: https://github.com/nodejs/node/pull/30109
Backport-PR-URL: https://github.com/nodejs/node/pull/29241
Backport-PR-URL: https://github.com/nodejs/node/pull/28955
PR-URL: https://github.com/nodejs/node/pull/28005
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com >
2020-02-06 02:48:41 +00:00
cjihrig
18c713da2c
deps: update V8's postmortem script
...
This commit updates V8's postmortem metadata generation script
to support V8 7.8.
The following metadata has changed:
- v8dbg_class_JSDate__value__Object
- The postmortem metadata generation script needed to be
updated. No action should be required by postmortem tools.
- v8dbg_class_JSRegExp__source__Object
- The postmortem metadata generation script needed to be
updated. No action should be required by postmortem tools.
Backport-PR-URL: https://github.com/nodejs/node/pull/30109
PR-URL: https://github.com/nodejs/node/pull/29694
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Gus Caplan <me@gus.host >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com >
2020-02-06 02:48:41 +00:00
Christian Clauss
593d989e8e
deps: V8: cherry-pick a7dffcd767be
...
Original commit message:
[postmortem] Load files using utf-8 to support Python 3
Change-Id: I174d38cc33210c07d1a7596627e1b2d21bb06313
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1895560
Reviewed-by: Mathias Bynens <mathias@chromium.org >
Commit-Queue: Michaël Zasso <mic.besace@gmail.com >
Cr-Commit-Position: refs/heads/master@{#64717}
Refs: https://github.com/v8/v8/commit/a7dffcd767be6e6122dd3911c8388b5ff76ac590
Backport-PR-URL: https://github.com/nodejs/node/pull/30109
PR-URL: https://github.com/nodejs/node/pull/30218
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: David Carlier <devnexen@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Chengzhong Wu <legendecas@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2020-02-06 02:48:41 +00:00
Michaël Zasso
5e1da86d9b
deps: V8: cherry-pick 0a055086c377
...
Original commit message:
PPC: Using a scratch register under LoadRealStackLimit
Change-Id: Id9e9142a8ff185309b91dcfff70dae8ccf8b5166
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1954244
Reviewed-by: Junliang Yan <jyan@ca.ibm.com >
Commit-Queue: Milad Farazmand <miladfar@ca.ibm.com >
Cr-Commit-Position: refs/heads/master@{#65357}
Refs: https://github.com/v8/v8/commit/0a055086c377da7882fcea489c5216dbfa304219
PR-URL: https://github.com/nodejs/node/pull/30109
Reviewed-By: Myles Borins <myles.borins@gmail.com >
2020-02-06 02:48:41 +00:00
Gabriel Schulhof
25dd890847
deps: V8: cherry-pick e5dbc95
...
Original commit message:
[api] Fix handle leak when getting Context embedder data
The `Context::SlowGetAlignedPointerFromEmbedderData()` method returns
a pointer, so the fact that it allocates handles is not obvious to
the caller.
Since this is the slow path anyway, simply add a handle scope inside
of it.
The tests are also modified to perform the same check for the
`Object` equivalent of this method.
Change-Id: I5f03c9a7b70b3a17315609df021606a53c9feb2d
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1879902
Reviewed-by: Yang Guo <yangguo@chromium.org >
Commit-Queue: Yang Guo <yangguo@chromium.org >
Cr-Commit-Position: refs/heads/master@{#64583}
Refs: https://github.com/v8/v8/commit/e5dbc95cc0bfbd8a3b6d67b9e4ed920cf3c9fe27
Fixes: https://github.com/nodejs/node/issues/30127
Backport-PR-URL: https://github.com/nodejs/node/pull/30109
PR-URL: https://github.com/nodejs/node/pull/30130
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2020-02-06 02:48:41 +00:00
Michaël Zasso
98dfe272b0
deps: V8: cherry-pick ed40ab1
...
Original commit message:
[regexp] Fix the order of named captures on the groups object
Named capture properties on the groups object should be ordered by the
capture index (and not alpha-sorted). This was accidentally broken in
https://crrev.com/c/1687413 .
Bug: v8:9822,v8:9423
Change-Id: Iac6f866f077a1b7ce557ba47e8ba5d7e7014b3ce
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1864829
Auto-Submit: Jakob Gruber <jgruber@chromium.org >
Reviewed-by: Peter Marshall <petermarshall@chromium.org >
Commit-Queue: Peter Marshall <petermarshall@chromium.org >
Cr-Commit-Position: refs/heads/master@{#64306}
Refs: https://github.com/v8/v8/commit/ed40ab15830d1a501effd00f4d3ffe66bd9ef97f
Fixes: https://github.com/nodejs/node/issues/29878
Backport-PR-URL: https://github.com/nodejs/node/pull/30109
PR-URL: https://github.com/nodejs/node/pull/30064
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Gus Caplan <me@gus.host >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
2020-02-06 02:48:41 +00:00
Myles Borins
4cdccbda80
deps: V8: cherry-pick 716875d
...
Original commit message:
[build] Add message-template.h to build file
This was missed during a file move and can cause build bugs.
Bug: chromium:991547
Change-Id: I157e7bb656956c08293c205c0d00884aecc7adee
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1798430
Commit-Queue: Sigurd Schneider <sigurds@chromium.org >
Reviewed-by: Sigurd Schneider <sigurds@chromium.org >
Auto-Submit: Peter Marshall <petermarshall@chromium.org >
Cr-Commit-Position: refs/heads/master@{#63711}
Refs: https://github.com/v8/v8/commit/716875d74cba4e3550c839e78df0c0c4df0f7758
Backport-PR-URL: https://github.com/nodejs/node/pull/30109
PR-URL: https://github.com/nodejs/node/pull/29694
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Gus Caplan <me@gus.host >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com >
2020-02-06 02:48:40 +00:00
Sam Roberts
667b9a409b
deps: V8: cherry-pick 35c6d4d
...
Original commit message:
Make code generator python3.7 compatible (async keyword).
Change-Id: Ifcd8b8cb1de60a007c7bbd4564d7869e83cb7109
Fixes: https://github.com/nodejs/node/issues/29548
Refs:
- https://github.com/nodejs/node/issues/29548#issuecomment-531717985
- https://github.com/nodejs/node/pull/29520
- https://github.com/nodejs/node/pull/29340
- https://chromium-review.googlesource.com/c/deps/inspector_protocol/+/1781351
- https://chromium.googlesource.com/deps/inspector_protocol/+/35c6d4d0d80b42d81bd00bcb1eb2b1093c80ed0a
Backport-PR-URL: https://github.com/nodejs/node/pull/30109
PR-URL: https://github.com/nodejs/node/pull/29585
Refs: https://github.com/nodejs/node/pull/29520
Reviewed-By: Christian Clauss <cclauss@me.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2020-02-06 02:48:40 +00:00
Benjamin Coe
c43f5be7cf
deps: V8: cherry-pick deac757
...
Original commit message:
[debugger] Fix code coverage for break/return inside switch-case
Case statements have a list of statements associated with them, but are
not blocks, and were hence not fixed-up correctly for code coverage.
This CL also applies the fix-up to the "body" of case statements,
in this way removing ranges reported as uncovered between the final
break/return in a case and the next case (or end of function).
Drive-by: Add optional pretty printing to code coverage test results.
Change-Id: I5f4002d4e17b7253ed516d99f7c389ab2264be10
Bug: v8:9705
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1798426
Reviewed-by: Toon Verwaest <verwaest@chromium.org >
Reviewed-by: Jakob Gruber <jgruber@chromium.org >
Commit-Queue: Sigurd Schneider <sigurds@chromium.org >
Cr-Commit-Position: refs/heads/master@{#63719}
Refs: https://github.com/v8/v8/commit/deac757bc76d207845375340bcea090c774ad9d0
Backport-PR-URL: https://github.com/nodejs/node/pull/30109
PR-URL: https://github.com/nodejs/node/pull/29626
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Shelley Vohr <codebytere@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2020-02-06 02:48:40 +00:00
Ujjwal Sharma
a19e9bd933
tools: patch V8 to run on older XCode versions
...
Patch V8 (compiler/js-heap-broker.cc) to remove the use of an optional
property, which is a fairly new C++ feature, since that requires a newer
XCode version than the minimum requirement in BUILDING.md and thus
breaks CI.
Backport-PR-URL: https://github.com/nodejs/node/pull/30109
PR-URL: https://github.com/nodejs/node/pull/29694
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Gus Caplan <me@gus.host >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com >
2020-02-06 02:48:40 +00:00
Michaël Zasso
b4e8f0de12
assert: fix line number calculation after V8 upgrade
...
Backport-PR-URL: https://github.com/nodejs/node/pull/30109
PR-URL: https://github.com/nodejs/node/pull/29694
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Gus Caplan <me@gus.host >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com >
2020-02-06 02:48:40 +00:00
Michaël Zasso and Ujjwal Sharma
0df49106d5
tools: update V8 gypfiles
...
until c6196ad7a2d601a4e1fdb313bfe2ec727fd67f7a
Co-authored-by: Ujjwal Sharma <usharma1998@gmail.com >
Co-authored-by: Michaël Zasso <targos@protonmail.com >
Backport-PR-URL: https://github.com/nodejs/node/pull/30109
PR-URL: https://github.com/nodejs/node/pull/29694
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Gus Caplan <me@gus.host >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com >
2020-02-06 02:48:40 +00:00
Refael Ackermann
d89f874871
deps: V8: fix linking issue for MSVS
...
Backport-PR-URL: https://github.com/nodejs/node/pull/30109
PR-URL: https://github.com/nodejs/node/pull/28016
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Refael Ackermann (רפאל פלחי) <refack@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
2020-02-06 02:48:40 +00:00
Refael Ackermann
0d20a85b8e
deps: V8: fix BUILDING_V8_SHARED issues
...
Backport-PR-URL: https://github.com/nodejs/node/pull/30109
PR-URL: https://github.com/nodejs/node/pull/27375
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com >
Reviewed-By: Refael Ackermann <refack@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-02-06 02:48:40 +00:00
Refael Ackermann
3d11924917
deps: V8: add workaround for MSVC optimizer bug
...
Refs: https://developercommunity.visualstudio.com/content/problem/512352/compiler-doesnt-finish-142027508.html
Backport-PR-URL: https://github.com/nodejs/node/pull/30109
PR-URL: https://github.com/nodejs/node/pull/28016
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Refael Ackermann (רפאל פלחי) <refack@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
2020-02-06 02:48:39 +00:00
Refael Ackermann
9135bc219b
deps: V8: use ATOMIC_VAR_INIT instead of std::atomic_init
...
`std::atomic_init<size_t>` is not implemented on all platforms.
Backport-PR-URL: https://github.com/nodejs/node/pull/30109
PR-URL: https://github.com/nodejs/node/pull/27375
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com >
Reviewed-By: Refael Ackermann <refack@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-02-06 02:48:39 +00:00
Refael Ackermann
d98789b348
deps: V8: forward declaration of Rtl*FunctionTable
...
This should be semver-patch since actual invocation is version
conditional.
Backport-PR-URL: https://github.com/nodejs/node/pull/30109
PR-URL: https://github.com/nodejs/node/pull/27375
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com >
Reviewed-By: Refael Ackermann <refack@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-02-06 02:48:39 +00:00
Refael Ackermann
5a31dc8177
deps: V8: patch register-arm64.h
...
Fixes a compilation issue on some platforms
Backport-PR-URL: https://github.com/nodejs/node/pull/30109
PR-URL: https://github.com/nodejs/node/pull/27375
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com >
Reviewed-By: Refael Ackermann <refack@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2020-02-06 02:48:39 +00:00
Michaël Zasso
fe18796b03
deps: V8: silence irrelevant warning
...
Backport-PR-URL: https://github.com/nodejs/node/pull/30109
PR-URL: https://github.com/nodejs/node/pull/26685
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Refael Ackermann <refack@gmail.com >
2020-02-06 02:48:39 +00:00
Refael Ackermann
4bf6e025a7
deps: V8: un-cherry-pick bd019bd
...
Original commit message:
[testrunner] delete ancient junit compatible format support
Testrunner has ancient support for JUnit compatible XML output.
This CL removes this old feature.
R=mstarzinger@chromium.org ,jgruber@chromium.org ,jkummerow@chromium.org
CC=machenbach@chromium.org
Bug: v8:8728
Change-Id: I7e1beb011dbaec3aa1a27398a5c52abdd778eaf0
Reviewed-on: https://chromium-review.googlesource.com/c/1430065
Reviewed-by: Jakob Gruber <jgruber@chromium.org >
Reviewed-by: Michael Starzinger <mstarzinger@chromium.org >
Commit-Queue: Tamer Tas <tmrts@chromium.org >
Cr-Commit-Position: refs/heads/master@{#59045}
Refs: https://github.com/v8/v8/commit/bd019bdb725cebaa34327634d73936cd7003d17c
Backport-PR-URL: https://github.com/nodejs/node/pull/30109
PR-URL: https://github.com/nodejs/node/pull/26685
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Refael Ackermann <refack@gmail.com >
2020-02-06 02:48:39 +00:00
Refael Ackermann
fdad5b6f38
deps: V8: fix filename manipulation for Windows
...
Backport-PR-URL: https://github.com/nodejs/node/pull/30109
PR-URL: https://github.com/nodejs/node/pull/28016
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Refael Ackermann (רפאל פלחי) <refack@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
2020-02-06 02:48:39 +00:00
Michaël Zasso
a91ed2eada
build: reset embedder string to "-node.0"
...
PR-URL: https://github.com/nodejs/node/pull/30109
Reviewed-By: Myles Borins <myles.borins@gmail.com >
2020-02-06 02:48:39 +00:00
Michaël Zasso
35f289260e
deps: update V8 to 7.8.279.23
...
PR-URL: https://github.com/nodejs/node/pull/30109
Reviewed-By: Myles Borins <myles.borins@gmail.com >
2020-02-06 02:48:39 +00:00
Beth Griggs
922042a017
Working on v12.15.1
...
PR-URL: https://github.com/nodejs-private/node-private/pull/197
2020-02-06 02:46:19 +00:00
Beth Griggs
31d3b6d9cb
2020-02-06, Version 12.15.0 'Erbium' (LTS)
...
This is a security release.
Vulnerabilities fixed:
* **CVE-2019-15606**:
HTTP header values do not have trailing OWS trimmed.
* **CVE-2019-15605**:
HTTP request smuggling using malformed Transfer-Encoding header.
* **CVE-2019-15604**:
Remotely trigger an assertion on a TLS server with a malformed
certificate string.
Also, HTTP parsing is more strict to be more secure. Since this may
cause problems in interoperability with some non-conformant HTTP
implementations, it is possible to disable the strict checks with the
`--insecure-http-parser` command line flag, or the `insecureHTTPParser`
http option. Using the insecure HTTP parser should be avoided.
PR-URL: https://github.com/nodejs-private/node-private/pull/197
v12.15.0
2020-02-05 23:20:35 +00:00