From owner-svn-ports-head@freebsd.org Wed May 8 19:08:35 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 79C121591347; Wed, 8 May 2019 19:08:35 +0000 (UTC) (envelope-from bhughes@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1F8778A631; Wed, 8 May 2019 19:08:35 +0000 (UTC) (envelope-from bhughes@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EC6D39FE1; Wed, 8 May 2019 19:08:34 +0000 (UTC) (envelope-from bhughes@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x48J8YD7023154; Wed, 8 May 2019 19:08:34 GMT (envelope-from bhughes@FreeBSD.org) Received: (from bhughes@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x48J8YNm023153; Wed, 8 May 2019 19:08:34 GMT (envelope-from bhughes@FreeBSD.org) Message-Id: <201905081908.x48J8YNm023153@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bhughes set sender to bhughes@FreeBSD.org using -f From: "Bradley T. Hughes" Date: Wed, 8 May 2019 19:08:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r501037 - head/www/node10/files X-SVN-Group: ports-head X-SVN-Commit-Author: bhughes X-SVN-Commit-Paths: head/www/node10/files X-SVN-Commit-Revision: 501037 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 1F8778A631 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.961,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 May 2019 19:08:35 -0000 Author: bhughes Date: Wed May 8 19:08:34 2019 New Revision: 501037 URL: https://svnweb.freebsd.org/changeset/ports/501037 Log: www/node10: add registers used by powerpc64 to sampler Add missing registers used by powerpc64. PR: 237618 Submitted by: pkubaj Sponsored by: Miles AS Modified: head/www/node10/files/patch-deps_v8_src_libsampler_sampler.cc Modified: head/www/node10/files/patch-deps_v8_src_libsampler_sampler.cc ============================================================================== --- head/www/node10/files/patch-deps_v8_src_libsampler_sampler.cc Wed May 8 18:41:06 2019 (r501036) +++ head/www/node10/files/patch-deps_v8_src_libsampler_sampler.cc Wed May 8 19:08:34 2019 (r501037) @@ -1,6 +1,6 @@ ---- deps/v8/src/libsampler/sampler.cc.orig 2018-08-15 13:53:25 UTC +--- deps/v8/src/libsampler/sampler.cc.orig 2019-03-05 15:16:28 UTC +++ deps/v8/src/libsampler/sampler.cc -@@ -550,9 +550,9 @@ void SignalHandler::FillRegisterState(vo +@@ -550,9 +550,13 @@ void SignalHandler::FillRegisterState(void* context, R state->sp = reinterpret_cast(mcontext.mc_rsp); state->fp = reinterpret_cast(mcontext.mc_rbp); #elif V8_HOST_ARCH_ARM @@ -10,6 +10,10 @@ + state->pc = reinterpret_cast(mcontext.__gregs[_REG_PC]); + state->sp = reinterpret_cast(mcontext.__gregs[_REG_SP]); + state->fp = reinterpret_cast(mcontext.__gregs[_REG_FP]); ++#elif V8_TARGET_ARCH_PPC_BE ++ state->pc = reinterpret_cast(mcontext.mc_srr0); ++ state->sp = reinterpret_cast(mcontext.mc_frame[1]); ++ state->fp = reinterpret_cast(mcontext.mc_frame[31]); #endif // V8_HOST_ARCH_* #elif V8_OS_NETBSD #if V8_HOST_ARCH_IA32