Pedro Pontes bd9c7c41ba chore: cherry-pick 2004594a46c8 from v8 (#33884) 3 years ago
..
.patches bd9c7c41ba chore: cherry-pick 2004594a46c8 from v8 (#33884) 3 years ago
README.md 4b9da4dd0e chore: remove mips64el patches as they've largely been upstreamed (#18628) 5 years ago
build_gn.patch 2bc618e7ac chore: bump chromium to 94.0.4606.12 (15-x-y) (#30370) 3 years ago
cherry-pick-2004594a46c8.patch bd9c7c41ba chore: cherry-pick 2004594a46c8 from v8 (#33884) 3 years ago
cherry-pick-26b7ad6967b1.patch 5647382a55 chore: cherry-pick 26b7ad6967b1 from v8 (#33473) 3 years ago
cherry-pick-27bc67f761e6.patch bedb5e1055 chore: cherry-pick ebddaedee from v8 (#32797) 3 years ago
cherry-pick-5d2b5e7c006c.patch 52e443ec52 chore: cherry-pick 5d2b5e7c006c from v8 (#31910) 3 years ago
cherry-pick-6de4e210688e.patch df726b619d chore: cherry-pick 6de4e210688e from v8 (#31501) 3 years ago
cherry-pick-a1427aad7cef.patch 300a40f939 chore: cherry-pick a1427aad7cef from v8 (#33525) 3 years ago
cherry-pick-b2d3ef69ef99.patch b745364907 chore: cherry-pick b2d3ef69ef99 from v8 (#33836) 3 years ago
cherry-pick-c46fb3a15ec2.patch fd272d89bc chore: cherry-pick c46fb3a15ec2 from v8 (#33393) 3 years ago
cherry-pick-e42dbcdedb7a.patch d26d064082 chore: cherry-pick e42dbcdedb7a from v8 (#33831) 3 years ago
cherry-pick-f546ac11eec7.patch 7e123ac6e5 chore: cherry-pick f546ac11eec7 from v8 (#33763) 3 years ago
cherry-pick-f599381978f2.patch 2c3081afb8 chore: cherry-pick f599381978f2 from v8 (#33606) 3 years ago
cppgc-js_support_eager_traced_value_in_ephemeron_pairs.patch 4664b5da57 chore: bump chromium to 94.0.4606.51 (15-x-y) (#30895) 3 years ago
dcheck.patch 2bc618e7ac chore: bump chromium to 94.0.4606.12 (15-x-y) (#30370) 3 years ago
do_not_export_private_v8_symbols_on_windows.patch 2bc618e7ac chore: bump chromium to 94.0.4606.12 (15-x-y) (#30370) 3 years ago
export_symbols_needed_for_windows_build.patch 2bc618e7ac chore: bump chromium to 94.0.4606.12 (15-x-y) (#30370) 3 years ago
expose_mksnapshot.patch 2bc618e7ac chore: bump chromium to 94.0.4606.12 (15-x-y) (#30370) 3 years ago
fix_build_deprecated_attirbute_for_older_msvc_versions.patch 2bc618e7ac chore: bump chromium to 94.0.4606.12 (15-x-y) (#30370) 3 years ago
fix_disable_implies_dcheck_for_node_stream_array_buffers.patch 2bc618e7ac chore: bump chromium to 94.0.4606.12 (15-x-y) (#30370) 3 years ago
merge_inspector_use_ephemeron_table_for_exception_metadata.patch 235c32ee55 chore: cherry-pick 29be6884cb8a from v8 (#31516) 3 years ago
merged_allow_compiled_module_invalidation_at_wasmstreaming_finish.patch fe8508a287 chore: cherry-pick 04a58fedd5 from v8 (#32235) 3 years ago
merged_wasm_32-bit_platforms_lower_kv8maxwasmmemorypages_by_1.patch da171befe7 chore: cherry-pick 1c93e2afc8 from v8 (#32796) 3 years ago
regexp_add_a_currently_failing_cctest_for_irregexp_reentrancy.patch 45813a0342 fix: crash in v8 due to regexp reentrancy (#31144) 3 years ago
regexp_allow_reentrant_irregexp_execution.patch 45813a0342 fix: crash in v8 due to regexp reentrancy (#31144) 3 years ago
regexp_fix_uaf_in_regexpmacroassembler.patch 65c9f47e15 chore: cherry-pick c1700c5 from v8 (#32770) 3 years ago
regexp_remove_the_stack_parameter_from_regexp_matchers.patch 45813a0342 fix: crash in v8 due to regexp reentrancy (#31144) 3 years ago
skip_non-compilation_functions_in_optimizeosr.patch bedb5e1055 chore: cherry-pick ebddaedee from v8 (#32797) 3 years ago
version_9_6_180_13_cherry-pick.patch 79abfe7ac8 chore: cherry-pick 05ccacee14 from v8. (#32216) 3 years ago
workaround_an_undefined_symbol_error.patch 2bc618e7ac chore: bump chromium to 94.0.4606.12 (15-x-y) (#30370) 3 years ago

README.md

Exporting node's patches to v8

$ cd third_party/electron_node
$ CURRENT_NODE_VERSION=vX.Y.Z  # e.g. v10.11.0

# Find the last commit with the message "deps: update V8 to <some version>"
# This commit corresponds to node resetting V8 to its pristine upstream
# state at the stated version.
$ LAST_V8_UPDATE="$(git log --grep='^deps: update V8' --format='%H' -1 deps/v8)"

# This creates a patch file containing all changes in deps/v8 from
# $LAST_V8_UPDATE up to the current node version, formatted in a way that
# it will apply cleanly to the V8 repository (i.e. with `deps/v8`
# stripped off the path and excluding the v8/gypfiles directory, which
# isn't present in V8.
$ git format-patch \
    --relative=deps/v8 \
    $LAST_V8_UPDATE..$CURRENT_NODE_VERSION \
    deps/v8 \
    ':(exclude)deps/v8/gypfiles' \
    --stdout

When upgrading to a new version of node, make sure to match node's patches to v8 by removing all the deps_* patches and re-exporting node's v8 patches using the process above.