From nobody Wed Oct 13 19:20:28 2021 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2049017F23F0; Wed, 13 Oct 2021 19:20:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HV2Rz1dSSz4qN6; Wed, 13 Oct 2021 19:20:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6684F2D052; Wed, 13 Oct 2021 19:20:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 19DJKSlP071286; Wed, 13 Oct 2021 19:20:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19DJKSQK071285; Wed, 13 Oct 2021 19:20:28 GMT (envelope-from git) Date: Wed, 13 Oct 2021 19:20:28 GMT Message-Id: <202110131920.19DJKSQK071285@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 1125c42dbda6 - main - lang/v8: Update to 9.4.146.21 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1125c42dbda67eecd69393e0ba322136fcd9062b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=1125c42dbda67eecd69393e0ba322136fcd9062b commit 1125c42dbda67eecd69393e0ba322136fcd9062b Author: Po-Chuan Hsieh AuthorDate: 2021-10-13 19:12:10 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-10-13 19:12:10 +0000 lang/v8: Update to 9.4.146.21 Changes: https://v8.dev/blog/v8-release-94 https://chromium.googlesource.com/v8/v8.git/+log/refs/heads/9.4-lkgr https://github.com/v8/v8/commits/9.4-lkgr --- lang/v8/Makefile | 18 ++++----- lang/v8/distinfo | 34 ++++++++-------- lang/v8/files/patch-BUILD.gn | 8 ++-- lang/v8/files/patch-build_config_compiler_BUILD.gn | 45 +++++++++++++--------- .../files/patch-build_config_compiler_compiler.gni | 4 +- lang/v8/files/patch-build_config_linux_BUILD.gn | 4 +- .../files/patch-build_toolchain_gcc__toolchain.gni | 6 +-- lang/v8/files/patch-include_v8config.h | 4 +- lang/v8/files/patch-src_api_api.cc | 6 +-- lang/v8/files/patch-src_base_cpu.cc | 6 +-- .../patch-src_base_platform_platform-posix.cc | 6 +-- 11 files changed, 75 insertions(+), 66 deletions(-) diff --git a/lang/v8/Makefile b/lang/v8/Makefile index d7dccba0eb58..763e09700db8 100644 --- a/lang/v8/Makefile +++ b/lang/v8/Makefile @@ -1,8 +1,8 @@ # We follow the stable channel on https://omahaproxy.appspot.com/ -# https://chromium.googlesource.com/v8/v8/+/refs/heads/9.3-lkgr +# https://chromium.googlesource.com/v8/v8/+/refs/heads/9.4-lkgr PORTNAME= v8 -PORTVERSION= 9.3.345.19 +PORTVERSION= 9.4.146.21 CATEGORIES= lang MASTER_SITES= LOCAL/sunpoet/v8/${PORTVERSION:R:R} DISTFILES= build-${BUILD_REV}.tar.gz \ @@ -39,13 +39,13 @@ USE_GITHUB= yes CPE_VENDOR= google -BUILD_REV= 2d999384c270a340f592cce0a0fb3f8f94c15290 -BUILDTOOLS_REV= 2500c1d8f3a20a66a7cbafe3f69079a2edb742dd -CLANG_REV= 9d0a403e85d25b5b0d3016a342d4b83b12941fd5 -COMMON_REV= d5bb24e5d9802c8c917fcaa4375d5239a586c168 -GOOGLETEST_REV= 4ec4cd23f486bf70efcc5d2caa40f24368f752e3 -ICU_REV= b9dfc58bf9b02ea0365509244aca13841322feb0 -ZLIB_REV= dfbc590f5855bc2765256a743cad0abc56330a30 +BUILD_REV= bbf7f0ed65548c4df862d2a2748e3a9b908a3217 +BUILDTOOLS_REV= 37dc929ecb351687006a61744b116cda601753d7 +CLANG_REV= 6a8e571efd68de48d226950d1e10cb8982e71496 +COMMON_REV= 3da1e2fcf66acd5c7194497b4285ac163f32e239 +GOOGLETEST_REV= 47f819c3ca54fb602f432904443e00a0a1fe2f42 +ICU_REV= 75e34bcccea0be165c31fdb278b3712c516c5876 +ZLIB_REV= 563140dd9c24f84bf40919196e9e7666d351cc0d # Run "gn args --list out/Release" for all variables. # Some parts don't have use_system_* flag, and can be turned on/off by using diff --git a/lang/v8/distinfo b/lang/v8/distinfo index 430c4b938fac..af72eec2c106 100644 --- a/lang/v8/distinfo +++ b/lang/v8/distinfo @@ -1,17 +1,17 @@ -TIMESTAMP = 1632036874 -SHA256 (v8/9.3/build-2d999384c270a340f592cce0a0fb3f8f94c15290.tar.gz) = a9334d354661e6a57b30dc3947eb03035fa179961ac3cd47dcb8c5126c8a6608 -SIZE (v8/9.3/build-2d999384c270a340f592cce0a0fb3f8f94c15290.tar.gz) = 1328866 -SHA256 (v8/9.3/buildtools-2500c1d8f3a20a66a7cbafe3f69079a2edb742dd.tar.gz) = 9bd8855fa25ada8c13774394dfdfc68010d0234d368dbbb87f23b3ae8f3f33fb -SIZE (v8/9.3/buildtools-2500c1d8f3a20a66a7cbafe3f69079a2edb742dd.tar.gz) = 86060 -SHA256 (v8/9.3/clang-9d0a403e85d25b5b0d3016a342d4b83b12941fd5.tar.gz) = bb635538b3cfe95dcbf3e26cef1a7fe02be5351c7a383b7c4471e58b3745e695 -SIZE (v8/9.3/clang-9d0a403e85d25b5b0d3016a342d4b83b12941fd5.tar.gz) = 289476 -SHA256 (v8/9.3/common-d5bb24e5d9802c8c917fcaa4375d5239a586c168.tar.gz) = 12f544af0133bc92760971357d8369b0caff91d0081297e1ca161ae4dc217633 -SIZE (v8/9.3/common-d5bb24e5d9802c8c917fcaa4375d5239a586c168.tar.gz) = 10408 -SHA256 (v8/9.3/googletest-4ec4cd23f486bf70efcc5d2caa40f24368f752e3.tar.gz) = cebe048b4144505ff2f656fabbac07c70422a682f4bdbf96c880011c58bcb8fe -SIZE (v8/9.3/googletest-4ec4cd23f486bf70efcc5d2caa40f24368f752e3.tar.gz) = 886821 -SHA256 (v8/9.3/icu-b9dfc58bf9b02ea0365509244aca13841322feb0.tar.gz) = 03e15831ec4573894fd0677353a573902ed8ea5a97dfbafe7fc31ed3cea92ca7 -SIZE (v8/9.3/icu-b9dfc58bf9b02ea0365509244aca13841322feb0.tar.gz) = 43743513 -SHA256 (v8/9.3/zlib-dfbc590f5855bc2765256a743cad0abc56330a30.tar.gz) = 1797490cd58608bb24ac2b4fc2c30c76496aed25c018c6e849187575d392dfc4 -SIZE (v8/9.3/zlib-dfbc590f5855bc2765256a743cad0abc56330a30.tar.gz) = 311694 -SHA256 (v8/9.3/v8-v8-9.3.345.19_GH0.tar.gz) = ff17118d966f781742869fa8fbfb5c8429f38e44969aa677168daed54967f000 -SIZE (v8/9.3/v8-v8-9.3.345.19_GH0.tar.gz) = 26651059 +TIMESTAMP = 1634111648 +SHA256 (v8/9.4/build-bbf7f0ed65548c4df862d2a2748e3a9b908a3217.tar.gz) = 40fce87e984c4970b719aefad09fda534c2bb517afac1e4829b4885d897fb123 +SIZE (v8/9.4/build-bbf7f0ed65548c4df862d2a2748e3a9b908a3217.tar.gz) = 1338052 +SHA256 (v8/9.4/buildtools-37dc929ecb351687006a61744b116cda601753d7.tar.gz) = a474c54cec7af1b76f520dd650594cb12e4c5dfbf3f0f3aeff1c75fd9922633e +SIZE (v8/9.4/buildtools-37dc929ecb351687006a61744b116cda601753d7.tar.gz) = 86046 +SHA256 (v8/9.4/clang-6a8e571efd68de48d226950d1e10cb8982e71496.tar.gz) = fd363836d59923f0f30d4e9cc7b542e274bd2db1bf3ae6befb62a70db60ee4ad +SIZE (v8/9.4/clang-6a8e571efd68de48d226950d1e10cb8982e71496.tar.gz) = 289845 +SHA256 (v8/9.4/common-3da1e2fcf66acd5c7194497b4285ac163f32e239.tar.gz) = e425acc90c104d4e3aa424f90769859afef3387dc053317147cf58104d40b349 +SIZE (v8/9.4/common-3da1e2fcf66acd5c7194497b4285ac163f32e239.tar.gz) = 10576 +SHA256 (v8/9.4/googletest-47f819c3ca54fb602f432904443e00a0a1fe2f42.tar.gz) = c38ac836ed70ea29fcadb83abdfe21050b2a913df9be643a2cd8527eb6f15982 +SIZE (v8/9.4/googletest-47f819c3ca54fb602f432904443e00a0a1fe2f42.tar.gz) = 860683 +SHA256 (v8/9.4/icu-75e34bcccea0be165c31fdb278b3712c516c5876.tar.gz) = 66627727e82ccec8ee534a613d22bab23d2144145822e6cda34671a9b9b46790 +SIZE (v8/9.4/icu-75e34bcccea0be165c31fdb278b3712c516c5876.tar.gz) = 43800465 +SHA256 (v8/9.4/zlib-563140dd9c24f84bf40919196e9e7666d351cc0d.tar.gz) = cc10b7e8c1500c916499b3e1254381e1136c486d8fad2e5258bc079fecd21cc8 +SIZE (v8/9.4/zlib-563140dd9c24f84bf40919196e9e7666d351cc0d.tar.gz) = 313040 +SHA256 (v8/9.4/v8-v8-9.4.146.21_GH0.tar.gz) = e251ee991561f422627e52d921b152e0c8a7f8bffb064942897e5bb700a3c402 +SIZE (v8/9.4/v8-v8-9.4.146.21_GH0.tar.gz) = 26707097 diff --git a/lang/v8/files/patch-BUILD.gn b/lang/v8/files/patch-BUILD.gn index db2a992ae2d1..f39f14add820 100644 --- a/lang/v8/files/patch-BUILD.gn +++ b/lang/v8/files/patch-BUILD.gn @@ -1,6 +1,6 @@ ---- BUILD.gn.orig 2021-06-08 16:09:55 UTC +--- BUILD.gn.orig 2021-10-06 18:22:58 UTC +++ BUILD.gn -@@ -4600,7 +4600,7 @@ v8_component("v8_libbase") { +@@ -4804,7 +4804,7 @@ v8_component("v8_libbase") { } } @@ -9,7 +9,7 @@ sources += [ "src/base/debug/stack_trace_posix.cc", "src/base/platform/platform-linux.cc", -@@ -4617,6 +4617,12 @@ v8_component("v8_libbase") { +@@ -4821,6 +4821,12 @@ v8_component("v8_libbase") { ] libs = [ "dl" ] @@ -22,7 +22,7 @@ } else if (is_android) { if (current_toolchain == host_toolchain) { libs = [ -@@ -5049,6 +5055,7 @@ if (v8_monolithic) { +@@ -5313,6 +5319,7 @@ if (v8_monolithic) { ":v8_libplatform", "//build/win:default_exe_manifest", ] diff --git a/lang/v8/files/patch-build_config_compiler_BUILD.gn b/lang/v8/files/patch-build_config_compiler_BUILD.gn index 48c46d0b0706..44da5b00a666 100644 --- a/lang/v8/files/patch-build_config_compiler_BUILD.gn +++ b/lang/v8/files/patch-build_config_compiler_BUILD.gn @@ -1,4 +1,4 @@ ---- build/config/compiler/BUILD.gn.orig 2021-09-19 10:01:13 UTC +--- build/config/compiler/BUILD.gn.orig 2021-10-13 07:49:03 UTC +++ build/config/compiler/BUILD.gn @@ -139,7 +139,7 @@ declare_args() { # @@ -27,7 +27,7 @@ cflags += [ "-fcrash-diagnostics-dir=" + clang_diagnostic_dir ] # TODO(hans): Remove this once Clang generates better optimized debug info -@@ -867,7 +867,7 @@ config("compiler_cpu_abi") { +@@ -879,7 +879,7 @@ config("compiler_cpu_abi") { cflags += [ "-mtune=$arm_tune" ] } } else if (current_cpu == "arm64") { @@ -36,17 +36,26 @@ cflags += [ "--target=aarch64-linux-gnu" ] ldflags += [ "--target=aarch64-linux-gnu" ] } -@@ -1217,7 +1217,7 @@ config("compiler_deterministic") { - "-Xclang", - ".", - ] +@@ -1223,7 +1223,7 @@ config("compiler_deterministic") { + # different build directory like "out/feature_a" and "out/feature_b" if + # we build same files with same compile flag. + # Other paths are already given in relative, no need to normalize them. +- if (is_nacl) { ++ if (is_nacl || is_bsd) { + # TODO(https://crbug.com/1231236): Use -ffile-compilation-dir= here. + cflags += [ + "-Xclang", +@@ -1236,7 +1236,7 @@ config("compiler_deterministic") { + # and -fcoverage-compilation-dir=. + cflags += [ "-ffile-compilation-dir=." ] + } - if (!is_win) { + if (!is_win && !is_bsd) { # We don't use clang -cc1as on Windows (yet? https://crbug.com/762167) asmflags = [ "-Wa,-fdebug-compilation-dir,." ] } -@@ -1594,7 +1594,7 @@ config("default_warnings") { - cflags += [ "-Wno-nonportable-include-path" ] +@@ -1610,7 +1610,7 @@ config("default_warnings") { + cflags += [ "-Wno-null-pointer-subtraction" ] } - if (current_toolchain == host_toolchain || !use_xcode_clang) { @@ -54,7 +63,7 @@ # Flags NaCl (Clang 3.7) and Xcode 9.2 (Clang clang-900.0.39.2) do not # recognize. cflags += [ -@@ -1856,7 +1856,7 @@ config("thin_archive") { +@@ -1858,7 +1858,7 @@ config("thin_archive") { # archives. # TODO(crbug.com/1221615): Enable on is_apple if use_lld once that no longer # confuses lldb. @@ -63,7 +72,7 @@ arflags = [ "-T" ] } else if (is_win && use_lld) { arflags = [ "/llvmlibthin" ] -@@ -2387,7 +2387,7 @@ config("symbols") { +@@ -2372,7 +2372,7 @@ config("symbols") { # flag, so we can use use -g1 for pnacl and nacl-clang compiles. # gcc nacl is is_nacl && !is_clang, pnacl and nacl-clang are && is_clang. if (!is_nacl || is_clang) { @@ -72,7 +81,7 @@ } if (is_apple) { -@@ -2412,7 +2412,7 @@ config("symbols") { +@@ -2397,7 +2397,7 @@ config("symbols") { # DWARF info may be corrupt; offsets in a range list entry are in different # sections" there. Maybe just a bug in nacl_switch_32.S. if (!is_apple && !is_nacl && current_cpu != "x86" && @@ -81,12 +90,12 @@ if (is_clang) { # This flag enables the GNU-format pubnames and pubtypes sections, # which lld needs in order to generate a correct GDB index. -@@ -2425,7 +2425,7 @@ config("symbols") { +@@ -2410,7 +2410,7 @@ config("symbols") { } - # TODO(https://crbug.com/1050118): Investigate missing debug info on mac. -- if (is_clang && !is_nacl && !use_xcode_clang && !is_apple) { -+ if (is_clang && !is_nacl && !use_xcode_clang && !is_apple && !is_bsd) { - # Use constructor homing for debug info. This option reduces debug info - # by emitting class type info only when constructors are emitted. - cflags += [ + if (is_clang && !is_nacl && !use_xcode_clang) { +- if (is_apple) { ++ if (is_apple || is_bsd) { + # TODO(https://crbug.com/1050118): Investigate missing debug info on mac. + # Make sure we don't use constructor homing on mac. + cflags += [ diff --git a/lang/v8/files/patch-build_config_compiler_compiler.gni b/lang/v8/files/patch-build_config_compiler_compiler.gni index 7690b3224054..b40ee50f0b69 100644 --- a/lang/v8/files/patch-build_config_compiler_compiler.gni +++ b/lang/v8/files/patch-build_config_compiler_compiler.gni @@ -1,6 +1,6 @@ ---- build/config/compiler/compiler.gni.orig 2021-05-26 12:26:11 UTC +--- build/config/compiler/compiler.gni.orig 2021-10-13 07:49:03 UTC +++ build/config/compiler/compiler.gni -@@ -202,7 +202,7 @@ declare_args() { +@@ -205,7 +205,7 @@ declare_args() { declare_args() { # Whether to use the gold linker from binutils instead of lld or bfd. diff --git a/lang/v8/files/patch-build_config_linux_BUILD.gn b/lang/v8/files/patch-build_config_linux_BUILD.gn index 171a343ed558..9b9bb1d634f9 100644 --- a/lang/v8/files/patch-build_config_linux_BUILD.gn +++ b/lang/v8/files/patch-build_config_linux_BUILD.gn @@ -1,6 +1,6 @@ ---- build/config/linux/BUILD.gn.orig 2021-05-01 21:15:31 UTC +--- build/config/linux/BUILD.gn.orig 2021-10-13 07:49:03 UTC +++ build/config/linux/BUILD.gn -@@ -30,7 +30,7 @@ config("runtime_library") { +@@ -39,7 +39,7 @@ config("runtime_library") { if ((!(is_chromeos_ash || is_chromeos_lacros) || default_toolchain != "//build/toolchain/cros:target") && diff --git a/lang/v8/files/patch-build_toolchain_gcc__toolchain.gni b/lang/v8/files/patch-build_toolchain_gcc__toolchain.gni index 1b9b41051b3e..528964d2bc7d 100644 --- a/lang/v8/files/patch-build_toolchain_gcc__toolchain.gni +++ b/lang/v8/files/patch-build_toolchain_gcc__toolchain.gni @@ -1,6 +1,6 @@ ---- build/toolchain/gcc_toolchain.gni.orig 2021-05-26 12:26:11 UTC +--- build/toolchain/gcc_toolchain.gni.orig 2021-10-13 07:49:03 UTC +++ build/toolchain/gcc_toolchain.gni -@@ -51,6 +51,11 @@ if (enable_resource_allowlist_generation) { +@@ -48,6 +48,11 @@ if (enable_resource_allowlist_generation) { "enable_resource_allowlist_generation=true does not work for target_os=$target_os") } @@ -12,7 +12,7 @@ # This template defines a toolchain for something that works like gcc # (including clang). # -@@ -654,13 +659,23 @@ template("clang_toolchain") { +@@ -673,13 +678,23 @@ template("clang_toolchain") { } gcc_toolchain(target_name) { diff --git a/lang/v8/files/patch-include_v8config.h b/lang/v8/files/patch-include_v8config.h index 5b3e5a7df644..2a1c5e2972e9 100644 --- a/lang/v8/files/patch-include_v8config.h +++ b/lang/v8/files/patch-include_v8config.h @@ -1,6 +1,6 @@ ---- include/v8config.h.orig 2021-04-22 15:00:28 UTC +--- include/v8config.h.orig 2021-10-06 18:22:58 UTC +++ include/v8config.h -@@ -293,7 +293,18 @@ path. Add it with -I to the command line +@@ -338,7 +338,18 @@ path. Add it with -I to the command line # define V8_HAS_CPP_ATTRIBUTE_NODISCARD (V8_HAS_CPP_ATTRIBUTE(nodiscard)) diff --git a/lang/v8/files/patch-src_api_api.cc b/lang/v8/files/patch-src_api_api.cc index 428d8a629cbc..056c643b5194 100644 --- a/lang/v8/files/patch-src_api_api.cc +++ b/lang/v8/files/patch-src_api_api.cc @@ -1,6 +1,6 @@ ---- src/api/api.cc.orig 2021-06-08 16:09:55 UTC +--- src/api/api.cc.orig 2021-10-06 18:22:58 UTC +++ src/api/api.cc -@@ -5764,7 +5764,7 @@ bool v8::V8::Initialize(const int build_config) { +@@ -5886,7 +5886,7 @@ bool v8::V8::Initialize(const int build_config) { return true; } @@ -8,4 +8,4 @@ +#if V8_OS_LINUX || V8_OS_MACOSX || V8_OS_OPENBSD || V8_OS_FREEBSD bool TryHandleWebAssemblyTrapPosix(int sig_code, siginfo_t* info, void* context) { - // When the target code runs on the V8 arm simulator, the trap handler does + #if V8_ENABLE_WEBASSEMBLY && V8_TRAP_HANDLER_SUPPORTED diff --git a/lang/v8/files/patch-src_base_cpu.cc b/lang/v8/files/patch-src_base_cpu.cc index 62ed0e81412d..edded0adef06 100644 --- a/lang/v8/files/patch-src_base_cpu.cc +++ b/lang/v8/files/patch-src_base_cpu.cc @@ -1,6 +1,6 @@ ---- src/base/cpu.cc.orig 2021-06-08 16:09:55 UTC +--- src/base/cpu.cc.orig 2021-10-06 18:22:58 UTC +++ src/base/cpu.cc -@@ -572,6 +572,7 @@ CPU::CPU() +@@ -568,6 +568,7 @@ CPU::CPU() #if V8_OS_LINUX @@ -8,7 +8,7 @@ CPUInfo cpu_info; // Extract implementor from the "CPU implementer" field. -@@ -605,6 +606,7 @@ CPU::CPU() +@@ -601,6 +602,7 @@ CPU::CPU() } delete[] part; } diff --git a/lang/v8/files/patch-src_base_platform_platform-posix.cc b/lang/v8/files/patch-src_base_platform_platform-posix.cc index 1dc9654483a7..df2cb6eb4180 100644 --- a/lang/v8/files/patch-src_base_platform_platform-posix.cc +++ b/lang/v8/files/patch-src_base_platform_platform-posix.cc @@ -1,6 +1,6 @@ ---- src/base/platform/platform-posix.cc.orig 2021-04-22 15:00:28 UTC +--- src/base/platform/platform-posix.cc.orig 2021-10-06 18:22:58 UTC +++ src/base/platform/platform-posix.cc -@@ -478,7 +478,7 @@ bool OS::DiscardSystemPages(void* address, size_t size +@@ -493,7 +493,7 @@ bool OS::DiscardSystemPages(void* address, size_t size // static bool OS::HasLazyCommits() { @@ -9,7 +9,7 @@ return true; #else // TODO(bbudge) Return true for all POSIX platforms. -@@ -611,6 +611,12 @@ int OS::GetCurrentThreadId() { +@@ -626,6 +626,12 @@ int OS::GetCurrentThreadId() { return static_cast(syscall(__NR_gettid)); #elif V8_OS_ANDROID return static_cast(gettid());