Skip to content

Commit 27a5f94

Browse files
richardlauaduh95
authored andcommitted
deps: V8: cherry-pick 500de8bd371b
Original commit message: [gcc] Fix gcc / bazel build Add <iomanip> includes to fix gcc/blaze builds. Also ignore a dangling pointer warning introduced in newer gcc, since it has false positives on some uses of scope classes. Change-Id: Ib86a2437ffc34b5497a5b8619013d6d5b4ea30fe Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5380192 Auto-Submit: Leszek Swirski <[email protected]> Reviewed-by: Adam Klein <[email protected]> Reviewed-by: Michael Achenbach <[email protected]> Commit-Queue: Michael Achenbach <[email protected]> Cr-Commit-Position: refs/heads/main@{#92977} Refs: v8/v8@500de8b PR-URL: #52676 Fixes: #52675 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Gerhard Stöbich <[email protected]>
1 parent 45f7002 commit 27a5f94

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

common.gypi

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
# Reset this number to 0 on major V8 upgrades.
3939
# Increment by one for each non-official patch applied to deps/v8.
40-
'v8_embedder_string': '-node.10',
40+
'v8_embedder_string': '-node.11',
4141

4242
##### V8 defaults for Node.js #####
4343

deps/v8/BUILD.gn

+4
Original file line numberDiff line numberDiff line change
@@ -1716,6 +1716,10 @@ config("toolchain") {
17161716

17171717
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108517
17181718
"-Wno-nonnull",
1719+
1720+
# Disable dangling pointer warnings, which are often false positives when
1721+
# using scopes.
1722+
"-Wno-dangling-pointer",
17191723
]
17201724
}
17211725

deps/v8/src/compiler/turboshaft/assembler.h

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#define V8_COMPILER_TURBOSHAFT_ASSEMBLER_H_
77

88
#include <cstring>
9+
#include <iomanip>
910
#include <iterator>
1011
#include <limits>
1112
#include <memory>

deps/v8/src/wasm/wasm-disassembler.cc

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
#include "src/wasm/wasm-disassembler.h"
66

7+
#include <iomanip>
8+
79
#include "src/debug/debug-interface.h"
810
#include "src/numbers/conversions.h"
911
#include "src/wasm/module-decoder-impl.h"

0 commit comments

Comments
 (0)