Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v8: include right headers in torque output #133

Closed
wants to merge 35 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
6dc37ee
doc: update README for node-v8 repository
nodejs-ci Jan 17, 2020
c4dccb5
deps: update V8 to 8.1.208
nodejs-ci Jan 17, 2020
9e7b4f1
build: reset embedder string to "-node.0"
nodejs-ci Jan 17, 2020
7f68787
deps: V8: un-cherry-pick bd019bd
refack Mar 27, 2019
3b615c6
deps: V8: silence irrelevant warnings
targos Mar 27, 2019
9f89082
deps: patch V8 to run on older XCode versions
ryzokuken Sep 14, 2019
1d3cf1e
deps: update V8's postmortem script
cjihrig Sep 27, 2019
0024f43
deps: update V8's postmortem script
cjihrig Oct 15, 2019
4822011
deps: V8: patch register-arm64.h
refack May 22, 2019
a155211
deps: V8: forward declaration of `Rtl*FunctionTable`
refack May 22, 2019
ef68b9f
deps: make v8.h compatible with VS2015
joaocgreis Nov 1, 2019
9e319c6
build: enable backtrace when V8 is built for PPC and S390x
targos Oct 29, 2019
763fbd9
tools: update V8 gypfiles for V8 8.0
targos Oct 18, 2019
377862f
src: stop overriding deprecated V8 methods
backes Dec 2, 2019
2b7cff9
Revert "assert: fix line number calculation after V8 upgrade"
targos Dec 6, 2019
93dbb29
tools: update inspector.gypi
ryzokuken Dec 6, 2019
3c4d63d
tools: update v8.gyp
targos Dec 7, 2019
64d32b8
try to fix include in zlib.gyp
targos Dec 7, 2019
a0bc768
deps: update V8's postmortem script
cjihrig Dec 8, 2019
035b4ac
test: update test-postmortem-metadata.js
cjihrig Dec 8, 2019
31d415d
src: update v8abbr.h for V8 update
cjihrig Dec 8, 2019
e05a8a8
tools: try to fix zlib for cross-compilation
targos Dec 9, 2019
048b5c4
tools: update v8.gyp
targos Dec 11, 2019
0940bff
tools: update gypfiles
targos Dec 16, 2019
3d84224
tools: update features.gypi
targos Dec 17, 2019
7646360
tools: update v8.gyp
ryzokuken Dec 19, 2019
e829d5f
tools: update v8.gyp
ryzokuken Dec 30, 2019
8e8ae96
fixup! fix typo from commit 3078bcdb131
bnoordhuis Jan 3, 2020
1d310dc
build: simplify v8's vendored zlib build
bnoordhuis Jan 3, 2020
aec6a49
deps: bump minimum icu version to 65
targos Jan 6, 2020
132447d
tools: update v8.gyp
targos Jan 13, 2020
6f1f793
src: remove use of deprecated Symbol::Name()
cjihrig Dec 14, 2019
a4ad1dd
tools: update v8.gyp
richardlau Jan 17, 2020
e75cce1
tools: update v8 gypfiles
targos Jan 17, 2020
00cc36f
v8: include right headers in torque output
bnoordhuis Jan 3, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
603 changes: 9 additions & 594 deletions README.md

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion common.gypi
Expand Up @@ -39,7 +39,7 @@

# Reset this number to 0 on major V8 upgrades.
# Increment by one for each non-official patch applied to deps/v8.
'v8_embedder_string': '-node.29',
'v8_embedder_string': '-node.8',

##### V8 defaults for Node.js #####

Expand Down Expand Up @@ -102,6 +102,9 @@
'obj_dir%': '<(PRODUCT_DIR)/obj.target',
'v8_base': '<(PRODUCT_DIR)/libv8_snapshot.a',
}],
['target_arch in ("ppc64", "s390x")', {
'v8_enable_backtrace': 1,
}],
],
},

Expand Down
6 changes: 6 additions & 0 deletions deps/v8/.gitignore
Expand Up @@ -24,6 +24,7 @@
.#*
.*.sw?
.ccls-cache
.clangd
.cpplint-cache
.cproject
.gclient_entries
Expand Down Expand Up @@ -99,6 +100,7 @@ compile_commands.json
gccauses
gcsuspects
gtags.files
jit-*.dump
node_modules
tags
turbo*.cfg
Expand All @@ -108,3 +110,7 @@ v8.ignition_dispatches_table.json

!/third_party/jinja2
!/third_party/markupsafe
!/third_party/zlib
/third_party/zlib/contrib/bench
/third_party/zlib/contrib/tests
/third_party/zlib/google
27 changes: 8 additions & 19 deletions deps/v8/.ycm_extra_conf.py
Expand Up @@ -103,27 +103,16 @@ def GetClangCommandFromNinjaForFilename(v8_root, filename):
# Header files can't be built. Instead, try to match a header file to its
# corresponding source file.
if filename.endswith('.h'):
alternates = ['.cc', '.cpp']
for alt_extension in alternates:
alt_name = filename[:-2] + alt_extension
if os.path.exists(alt_name):
filename = alt_name
base = filename[:-6] if filename.endswith('-inl.h') else filename[:-2]
for alternate in [base + e for e in ['.cc', '.cpp']]:
if os.path.exists(alternate):
filename = alternate
break
else:
if filename.endswith('-inl.h'):
for alt_extension in alternates:
alt_name = filename[:-6] + alt_extension
if os.path.exists(alt_name):
filename = alt_name
break;
else:
# If this is a standalone -inl.h file with no source, the best we can
# do is try to use the default flags.
return v8_flags
else:
# If this is a standalone .h file with no source, the best we can do is
# try to use the default flags.
return v8_flags
# If this is a standalone .h file with no source, we ask ninja for the
# compile flags of some generic cc file ('src/utils/utils.cc'). This
# should contain most/all of the interesting flags for other targets too.
filename = os.path.join(v8_root, 'src', 'utils', 'utils.cc')

sys.path.append(os.path.join(v8_root, 'tools', 'ninja'))
from ninja_output import GetNinjaOutputDirectory
Expand Down
5 changes: 5 additions & 0 deletions deps/v8/AUTHORS
Expand Up @@ -68,6 +68,7 @@ Bert Belder <bertbelder@gmail.com>
Burcu Dogan <burcujdogan@gmail.com>
Caitlin Potter <caitpotter88@gmail.com>
Craig Schlenter <craig.schlenter@gmail.com>
Chengzhong Wu <legendecas@gmail.com>
Choongwoo Han <cwhan.tunz@gmail.com>
Chris Nardi <hichris123@gmail.com>
Christopher A. Taylor <chris@gameclosure.com>
Expand Down Expand Up @@ -95,6 +96,7 @@ Hannu Trey <hannu.trey@gmail.com>
Henrique Ferreiro <henrique.ferreiro@gmail.com>
Hirofumi Mako <mkhrfm@gmail.com>
Honggyu Kim <honggyu.kp@gmail.com>
Huáng Jùnliàng <jlhwung@gmail.com>
Ingvar Stepanyan <me@rreverser.com>
Ioseb Dzmanashvili <ioseb.dzmanashvili@gmail.com>
Isiah Meadows <impinball@gmail.com>
Expand Down Expand Up @@ -196,7 +198,10 @@ Wiktor Garbacz <wiktor.garbacz@gmail.com>
Xiaoyin Liu <xiaoyin.l@outlook.com>
Yannic Bonenberger <contact@yannic-bonenberger.com>
Yong Wang <ccyongwang@tencent.com>
Youfeng Hao <ajihyf@gmail.com>
Yu Yin <xwafish@gmail.com>
Zac Hansen <xaxxon@gmail.com>
Zhao Jiazhong <kyslie3100@gmail.com>
Zhongping Wang <kewpie.w.zp@gmail.com>
柳荣一 <admin@web-tinker.com>
Yanbo Li <lybvinci@gmail.com>