Skip to content

deps: cherry-pick 3dfb90b from upstream V8

Rodrigo Muino Tomonari requested to merge github/fork/mmarchini/v8-3dfb90b into master

Original commit message:

[arm64] Mark std::printf as an external reference

Arm64's implementation of `TurboAssembler::Abort()` supports printing the
bailout reason to the standard output without calling to the runtime. For this
to work, we need access to the host's printf function so we can call it
directly. In the general case, `Abort` does call the runtime, however, we cannot
do it if we want to abort from inside CEntryStub.

Bug: v8:6939
Change-Id: I2a57603cdc182a45cf770f405bd6ae449f40a047
Reviewed-on: https://chromium-review.googlesource.com/730746
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Commit-Queue: Pierre Langlois <pierre.langlois@arm.com>
Cr-Commit-Position: refs/heads/master@{#48790}

Refs: https://github.com/v8/v8/commit/3dfb90b6698f10fadc108a06356135d5ea1f3222

Fixes: https://github.com/nodejs/node/issues/15395

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

deps/v8

Merge request reports

Loading