VV8 LUCI CQReland "Update V8 DEPS (trusted)"
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Reland "Update V8 DEPS (trusted)" This temporarily skips the wasm-api-tests target on win-arm until https://crbug.com/445649941 is resolved. This is a reland of commit a3982f7a66ceb41ac9da4a85ff9e93eaabe47088 Original change's description: > Update V8 DEPS (trusted) > > Rolling build: https://chromium.googlesource.com/chromium/src/build/+log/1de7ce9..298617b > > Rolling buildtools: https://chromium.googlesource.com/chromium/src/buildtools/+log/958004d..19bc370 > > Rolling buildtools/reclient: re_client_version:0.179.0.28341fc7-gomaip..re_client_version:0.183.0.3b3097cd-gomaip > > Rolling third_party/abseil-cpp: https://chromium.googlesource.com/chromium/src/third_party/abseil-cpp/+log/9d692d6..47b1fee > > Rolling third_party/catapult: https://chromium.googlesource.com/catapult/+log/375b4c2..0a50a85 > > Rolling third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools/+log/3598216..c932af8 > > Rolling third_party/libc++/src: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx/+log/0257666..7b8dc07 > > Rolling third_party/llvm-libc/src: https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libc/+log/06a10da..f2fc757 > > Rolling third_party/partition_alloc: https://chromium.googlesource.com/chromium/src/base/allocator/partition_allocator/+log/bb86434..2c06e4c > > Roll created at https://cr-buildbucket.appspot.com/build/8703481235607377441 > > Change-Id: If170d629686808098ba3659648eedefb35b341e2 > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6958753 > Commit-Queue: v8-ci-autoroll-builder <v8-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com> > Bot-Commit: v8-ci-autoroll-builder <v8-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com> > Cr-Commit-Position: refs/heads/main@{#102550} Bug: 445649941 Change-Id: I0b538464fdcbf541e6e62c11f1103e4ba088b59e Cq-Include-Trybots: luci.v8.try:v8_win_arm64_compile_dbg Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6964614 Commit-Queue: Clemens Backes <clemensb@chromium.org> Reviewed-by: Clemens Backes <clemensb@chromium.org> Auto-Submit: Michael Achenbach <machenbach@chromium.org> Cr-Commit-Position: refs/heads/main@{#102616} | 9 个月前 | |
[wasm-c-api] Add tests and fixes In a new test suite: "wasm-api-tests", using a new binary "wasm_api_tests", powered by gtest/gmock (like unittests). Also fix a bunch of issues that these tests uncovered, mostly to ensure that the stack is walkable. Change-Id: I1d5604eea85da078ebecd4ebb7383647595f16ac Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1627539 Commit-Queue: Jakob Kummerow <jkummerow@chromium.org> Reviewed-by: Michael Starzinger <mstarzinger@chromium.org> Cr-Commit-Position: refs/heads/master@{#61885} | 6 年前 | |
Reland "[handles] Migration to direct handles, part 12" This is a reland of commit 5fa54d85a10049a55ba2fa02bc05145ddee7d19a Original change's description: > [handles] Migration to direct handles, part 12 > > This CL migrates a large number of handles to direct handles. The > changes are only relevant for builds with v8_enable_direct_handle=true. > > Affected source directories: api, asmjs, ast, builtins, codegen, > compiler, d8, debug, deoptimizer, diagnostics, execution, extensions, > heap, ic, init, interpreter, json, maglev, objects, parsing, profiler, > regexp, runtime, snapshot, strings, wasm, and tests. > > Bug: 42203211 > Change-Id: I2334b3295e5780e8f52d0b13d1545dce29fcf81e > Cq-Include-Trybots: luci.v8.try:v8_linux64_css_dbg > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6181904 > Commit-Queue: Nikolaos Papaspyrou <nikolaos@chromium.org> > Reviewed-by: Omer Katz <omerkatz@chromium.org> > Reviewed-by: Michael Lippautz <mlippautz@chromium.org> > Cr-Commit-Position: refs/heads/main@{#98240} Bug: 42203211 Change-Id: Ie21acd681c12e7212185d61a19bd858365650204 Cq-Include-Trybots: luci.v8.try:v8_linux64_css_dbg Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6187462 Reviewed-by: Omer Katz <omerkatz@chromium.org> Commit-Queue: Leszek Swirski <leszeks@chromium.org> Auto-Submit: Nikolaos Papaspyrou <nikolaos@chromium.org> Reviewed-by: Leszek Swirski <leszeks@chromium.org> Commit-Queue: Omer Katz <omerkatz@chromium.org> Cr-Commit-Position: refs/heads/main@{#98249} | 1 年前 | |
[wasm-c-api][wasm] Roll to upstream 2ce1367 This CL updates the wasm.h and wasm.hh headers and relative examples to the latest revision of the wasm-c-api specification (see below for a description of the commits from upstream). This CL also updates the relevant pieces of code in src/wasm and related tests. This contains the following upstream commits: 2ce1367 Fix typo in threads.c (#184) 5f7ed69 Static lib define (#183) 13f3bfd Support MinGW (#182) f8fcfd7 Disable C tests 3a1ac36 Disable threads example ab4c456 Disable serialise example b41863a Deactivate table example, seems broken in V8 baba1c5 Special handling for table entries a18ad80 Debug output c498c73 Fix examples f4d055f V8 compile flags 8ba37d3 Linking issues f83333e Upgrade wasm-v8 cbf8997 Missing include 5e9e9be Instantiate Managed template f0692ea Avoid DISPATCH_FALLTHROUGH 37fd4ed Fix compilation errors f6919ed Upgrade V8 d60c38b Pull depot_tools b87c16d Downgrade Python for CI 38a85e0 Setup CI b6dd1fb Add validate operation to hello example (#175) c9d3128 Fix typo in multi.c: args should be i32, i64, i64, i32 (#163) fd09246 Make it possible to subclass wasm C++ API classes for the implementor. (#161) ac9b509 Make wasm_##type##_copy take a const pointer. (#162) 89e988a Use (void) to specify “no argument” in C. (#160) b7636f6 Fix warning about casting from pointer to integer of different size. (#159) 3a31b7e Add Wasmer as an implementor of Wasm C API (#152) 43b275e Forgot to add a commit b922f77 Distinguish name constructors for zt strings (#151) af6e0fb Use vectors for calls and imports (#145) 340fd95 Fopen in binary mode (#138) eaa7d5b Fix missing lock guard (#130) 06e4871 Updates b0b4bfb Use enum classes (#121) d9a8009 C++ conformance tweaks (#120) 8782d5b Add WASM_API _EXTERN macro (#77) 10a4a64 Fix apparent bug in multi.c (#113) d71b9dc Mark source vector as const in wasm_<name>_vec_copy (#111) acd4a52 Set the rhs vec to invalid_size after a move (#109) 6db391e Remove a few more leftover uses of _enum types bf31edf Fix life times of host info (#96) Change-Id: I2bfefc761d54bb6e102a09ae3bb7073b32cc8ceb Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6087801 Commit-Queue: Jakob Kummerow <jkummerow@chromium.org> Reviewed-by: Daniel Lehmann <dlehmann@chromium.org> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/main@{#97978} | 1 年前 | |
[wasm-c-api][wasm] Roll to upstream 2ce1367 This CL updates the wasm.h and wasm.hh headers and relative examples to the latest revision of the wasm-c-api specification (see below for a description of the commits from upstream). This CL also updates the relevant pieces of code in src/wasm and related tests. This contains the following upstream commits: 2ce1367 Fix typo in threads.c (#184) 5f7ed69 Static lib define (#183) 13f3bfd Support MinGW (#182) f8fcfd7 Disable C tests 3a1ac36 Disable threads example ab4c456 Disable serialise example b41863a Deactivate table example, seems broken in V8 baba1c5 Special handling for table entries a18ad80 Debug output c498c73 Fix examples f4d055f V8 compile flags 8ba37d3 Linking issues f83333e Upgrade wasm-v8 cbf8997 Missing include 5e9e9be Instantiate Managed template f0692ea Avoid DISPATCH_FALLTHROUGH 37fd4ed Fix compilation errors f6919ed Upgrade V8 d60c38b Pull depot_tools b87c16d Downgrade Python for CI 38a85e0 Setup CI b6dd1fb Add validate operation to hello example (#175) c9d3128 Fix typo in multi.c: args should be i32, i64, i64, i32 (#163) fd09246 Make it possible to subclass wasm C++ API classes for the implementor. (#161) ac9b509 Make wasm_##type##_copy take a const pointer. (#162) 89e988a Use (void) to specify “no argument” in C. (#160) b7636f6 Fix warning about casting from pointer to integer of different size. (#159) 3a31b7e Add Wasmer as an implementor of Wasm C API (#152) 43b275e Forgot to add a commit b922f77 Distinguish name constructors for zt strings (#151) af6e0fb Use vectors for calls and imports (#145) 340fd95 Fopen in binary mode (#138) eaa7d5b Fix missing lock guard (#130) 06e4871 Updates b0b4bfb Use enum classes (#121) d9a8009 C++ conformance tweaks (#120) 8782d5b Add WASM_API _EXTERN macro (#77) 10a4a64 Fix apparent bug in multi.c (#113) d71b9dc Mark source vector as const in wasm_<name>_vec_copy (#111) acd4a52 Set the rhs vec to invalid_size after a move (#109) 6db391e Remove a few more leftover uses of _enum types bf31edf Fix life times of host info (#96) Change-Id: I2bfefc761d54bb6e102a09ae3bb7073b32cc8ceb Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6087801 Commit-Queue: Jakob Kummerow <jkummerow@chromium.org> Reviewed-by: Daniel Lehmann <dlehmann@chromium.org> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/main@{#97978} | 1 年前 | |
[wasm] ValueType refactoring This changes how we use the bits in the ValueType bit field to store some additional coarse-grained information about the referenced type. The motivation is that this lets us implement subtyping, type union, and type intersection much more efficiently. Bug: 393143505 Change-Id: Ifb49e21c9c8138baa9eabdcdd97dc0541f870510 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6288535 Reviewed-by: Matthias Liedtke <mliedtke@chromium.org> Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> Commit-Queue: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/main@{#98948} | 1 年前 | |
[wasm-c-api][wasm] Roll to upstream 2ce1367 This CL updates the wasm.h and wasm.hh headers and relative examples to the latest revision of the wasm-c-api specification (see below for a description of the commits from upstream). This CL also updates the relevant pieces of code in src/wasm and related tests. This contains the following upstream commits: 2ce1367 Fix typo in threads.c (#184) 5f7ed69 Static lib define (#183) 13f3bfd Support MinGW (#182) f8fcfd7 Disable C tests 3a1ac36 Disable threads example ab4c456 Disable serialise example b41863a Deactivate table example, seems broken in V8 baba1c5 Special handling for table entries a18ad80 Debug output c498c73 Fix examples f4d055f V8 compile flags 8ba37d3 Linking issues f83333e Upgrade wasm-v8 cbf8997 Missing include 5e9e9be Instantiate Managed template f0692ea Avoid DISPATCH_FALLTHROUGH 37fd4ed Fix compilation errors f6919ed Upgrade V8 d60c38b Pull depot_tools b87c16d Downgrade Python for CI 38a85e0 Setup CI b6dd1fb Add validate operation to hello example (#175) c9d3128 Fix typo in multi.c: args should be i32, i64, i64, i32 (#163) fd09246 Make it possible to subclass wasm C++ API classes for the implementor. (#161) ac9b509 Make wasm_##type##_copy take a const pointer. (#162) 89e988a Use (void) to specify “no argument” in C. (#160) b7636f6 Fix warning about casting from pointer to integer of different size. (#159) 3a31b7e Add Wasmer as an implementor of Wasm C API (#152) 43b275e Forgot to add a commit b922f77 Distinguish name constructors for zt strings (#151) af6e0fb Use vectors for calls and imports (#145) 340fd95 Fopen in binary mode (#138) eaa7d5b Fix missing lock guard (#130) 06e4871 Updates b0b4bfb Use enum classes (#121) d9a8009 C++ conformance tweaks (#120) 8782d5b Add WASM_API _EXTERN macro (#77) 10a4a64 Fix apparent bug in multi.c (#113) d71b9dc Mark source vector as const in wasm_<name>_vec_copy (#111) acd4a52 Set the rhs vec to invalid_size after a move (#109) 6db391e Remove a few more leftover uses of _enum types bf31edf Fix life times of host info (#96) Change-Id: I2bfefc761d54bb6e102a09ae3bb7073b32cc8ceb Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6087801 Commit-Queue: Jakob Kummerow <jkummerow@chromium.org> Reviewed-by: Daniel Lehmann <dlehmann@chromium.org> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/main@{#97978} | 1 年前 | |
[wasm-c-api][wasm] Roll to upstream 2ce1367 This CL updates the wasm.h and wasm.hh headers and relative examples to the latest revision of the wasm-c-api specification (see below for a description of the commits from upstream). This CL also updates the relevant pieces of code in src/wasm and related tests. This contains the following upstream commits: 2ce1367 Fix typo in threads.c (#184) 5f7ed69 Static lib define (#183) 13f3bfd Support MinGW (#182) f8fcfd7 Disable C tests 3a1ac36 Disable threads example ab4c456 Disable serialise example b41863a Deactivate table example, seems broken in V8 baba1c5 Special handling for table entries a18ad80 Debug output c498c73 Fix examples f4d055f V8 compile flags 8ba37d3 Linking issues f83333e Upgrade wasm-v8 cbf8997 Missing include 5e9e9be Instantiate Managed template f0692ea Avoid DISPATCH_FALLTHROUGH 37fd4ed Fix compilation errors f6919ed Upgrade V8 d60c38b Pull depot_tools b87c16d Downgrade Python for CI 38a85e0 Setup CI b6dd1fb Add validate operation to hello example (#175) c9d3128 Fix typo in multi.c: args should be i32, i64, i64, i32 (#163) fd09246 Make it possible to subclass wasm C++ API classes for the implementor. (#161) ac9b509 Make wasm_##type##_copy take a const pointer. (#162) 89e988a Use (void) to specify “no argument” in C. (#160) b7636f6 Fix warning about casting from pointer to integer of different size. (#159) 3a31b7e Add Wasmer as an implementor of Wasm C API (#152) 43b275e Forgot to add a commit b922f77 Distinguish name constructors for zt strings (#151) af6e0fb Use vectors for calls and imports (#145) 340fd95 Fopen in binary mode (#138) eaa7d5b Fix missing lock guard (#130) 06e4871 Updates b0b4bfb Use enum classes (#121) d9a8009 C++ conformance tweaks (#120) 8782d5b Add WASM_API _EXTERN macro (#77) 10a4a64 Fix apparent bug in multi.c (#113) d71b9dc Mark source vector as const in wasm_<name>_vec_copy (#111) acd4a52 Set the rhs vec to invalid_size after a move (#109) 6db391e Remove a few more leftover uses of _enum types bf31edf Fix life times of host info (#96) Change-Id: I2bfefc761d54bb6e102a09ae3bb7073b32cc8ceb Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6087801 Commit-Queue: Jakob Kummerow <jkummerow@chromium.org> Reviewed-by: Daniel Lehmann <dlehmann@chromium.org> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/main@{#97978} | 1 年前 | |
[wasm-c-api][wasm] Roll to upstream 2ce1367 This CL updates the wasm.h and wasm.hh headers and relative examples to the latest revision of the wasm-c-api specification (see below for a description of the commits from upstream). This CL also updates the relevant pieces of code in src/wasm and related tests. This contains the following upstream commits: 2ce1367 Fix typo in threads.c (#184) 5f7ed69 Static lib define (#183) 13f3bfd Support MinGW (#182) f8fcfd7 Disable C tests 3a1ac36 Disable threads example ab4c456 Disable serialise example b41863a Deactivate table example, seems broken in V8 baba1c5 Special handling for table entries a18ad80 Debug output c498c73 Fix examples f4d055f V8 compile flags 8ba37d3 Linking issues f83333e Upgrade wasm-v8 cbf8997 Missing include 5e9e9be Instantiate Managed template f0692ea Avoid DISPATCH_FALLTHROUGH 37fd4ed Fix compilation errors f6919ed Upgrade V8 d60c38b Pull depot_tools b87c16d Downgrade Python for CI 38a85e0 Setup CI b6dd1fb Add validate operation to hello example (#175) c9d3128 Fix typo in multi.c: args should be i32, i64, i64, i32 (#163) fd09246 Make it possible to subclass wasm C++ API classes for the implementor. (#161) ac9b509 Make wasm_##type##_copy take a const pointer. (#162) 89e988a Use (void) to specify “no argument” in C. (#160) b7636f6 Fix warning about casting from pointer to integer of different size. (#159) 3a31b7e Add Wasmer as an implementor of Wasm C API (#152) 43b275e Forgot to add a commit b922f77 Distinguish name constructors for zt strings (#151) af6e0fb Use vectors for calls and imports (#145) 340fd95 Fopen in binary mode (#138) eaa7d5b Fix missing lock guard (#130) 06e4871 Updates b0b4bfb Use enum classes (#121) d9a8009 C++ conformance tweaks (#120) 8782d5b Add WASM_API _EXTERN macro (#77) 10a4a64 Fix apparent bug in multi.c (#113) d71b9dc Mark source vector as const in wasm_<name>_vec_copy (#111) acd4a52 Set the rhs vec to invalid_size after a move (#109) 6db391e Remove a few more leftover uses of _enum types bf31edf Fix life times of host info (#96) Change-Id: I2bfefc761d54bb6e102a09ae3bb7073b32cc8ceb Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6087801 Commit-Queue: Jakob Kummerow <jkummerow@chromium.org> Reviewed-by: Daniel Lehmann <dlehmann@chromium.org> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/main@{#97978} | 1 年前 | |
[wasm][test] Add first tests for use counters This adds basic tests for Wasm use counters, for all compilation APIs (sync, async, streaming). We do not cover lazy validation yet, which is disabled by default anyway. If it is ever enabled or tested by default, the tests will fail in that variant. Fix sync compilation to always report the use counters, even if the module comes from the cache. This makes us independent of GC timing, and is in line with async and streaming compilation. Plus some drive-by simplifications in tests due to a new EmitCode method on the WasmFunctionBuilder. R=jkummerow@chromium.org Bug: 368070338 Change-Id: Ia41fc30738783763bd04a14c63fa2703723b8c73 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5904099 Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Commit-Queue: Clemens Backes <clemensb@chromium.org> Cr-Commit-Position: refs/heads/main@{#96412} | 1 年前 | |
[sandbox] Add foundation for hardware sandbox support, part 2 This CL is another step towards a first hardware sandboxing prototype using memory protection keys (PKEYs). This CL: * Executes all JavaScript and WebAssembly code (interpreter and JIT-generated code) in sandboxed execution mode by switching the execution mode in the JSEntry trampolines. * Adds infrastructure to allow specifying the code sandboxing mode on a per-builtin basis. * Leaves sandboxed execution mode when invoking unsandboxed builtins (mostly CPP builtins and WriteBarriers) or runtime functions and re-enters when returning from them. In the future, more and more builtins (and runtime functions) should be marked as sandboxed to avoid the switching overhead and reduce the sandbox attack surface. With this CL, no memory is actually inaccessible in sandboxed execution mode yet as the RegisterOutOfSandboxMemory method isn't yet used. This will happen gradually for more and more memory regions in follow-up CLs. However, this CL already asserts (in debug builds with --debug-code) that the sandboxing mode is as expected on entry to JIT-generated code, when switching the sandboxing mode, and in various builtins. Bug: 350324877 Change-Id: I8d19af796b88ff15fb358445de213eb5dda1d68e Cq-Include-Trybots: luci.v8.try:v8_linux64_pku_dbg,v8_linux64_pku_rel Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6574336 Reviewed-by: Stephen Röttger <sroettger@google.com> Reviewed-by: Leszek Swirski <leszeks@chromium.org> Commit-Queue: Samuel Groß <saelo@chromium.org> Reviewed-by: Igor Sheludko <ishell@chromium.org> Cr-Commit-Position: refs/heads/main@{#100789} | 1 年前 | |
[wasm-c-api][wasm] Roll to upstream 2ce1367 This CL updates the wasm.h and wasm.hh headers and relative examples to the latest revision of the wasm-c-api specification (see below for a description of the commits from upstream). This CL also updates the relevant pieces of code in src/wasm and related tests. This contains the following upstream commits: 2ce1367 Fix typo in threads.c (#184) 5f7ed69 Static lib define (#183) 13f3bfd Support MinGW (#182) f8fcfd7 Disable C tests 3a1ac36 Disable threads example ab4c456 Disable serialise example b41863a Deactivate table example, seems broken in V8 baba1c5 Special handling for table entries a18ad80 Debug output c498c73 Fix examples f4d055f V8 compile flags 8ba37d3 Linking issues f83333e Upgrade wasm-v8 cbf8997 Missing include 5e9e9be Instantiate Managed template f0692ea Avoid DISPATCH_FALLTHROUGH 37fd4ed Fix compilation errors f6919ed Upgrade V8 d60c38b Pull depot_tools b87c16d Downgrade Python for CI 38a85e0 Setup CI b6dd1fb Add validate operation to hello example (#175) c9d3128 Fix typo in multi.c: args should be i32, i64, i64, i32 (#163) fd09246 Make it possible to subclass wasm C++ API classes for the implementor. (#161) ac9b509 Make wasm_##type##_copy take a const pointer. (#162) 89e988a Use (void) to specify “no argument” in C. (#160) b7636f6 Fix warning about casting from pointer to integer of different size. (#159) 3a31b7e Add Wasmer as an implementor of Wasm C API (#152) 43b275e Forgot to add a commit b922f77 Distinguish name constructors for zt strings (#151) af6e0fb Use vectors for calls and imports (#145) 340fd95 Fopen in binary mode (#138) eaa7d5b Fix missing lock guard (#130) 06e4871 Updates b0b4bfb Use enum classes (#121) d9a8009 C++ conformance tweaks (#120) 8782d5b Add WASM_API _EXTERN macro (#77) 10a4a64 Fix apparent bug in multi.c (#113) d71b9dc Mark source vector as const in wasm_<name>_vec_copy (#111) acd4a52 Set the rhs vec to invalid_size after a move (#109) 6db391e Remove a few more leftover uses of _enum types bf31edf Fix life times of host info (#96) Change-Id: I2bfefc761d54bb6e102a09ae3bb7073b32cc8ceb Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6087801 Commit-Queue: Jakob Kummerow <jkummerow@chromium.org> Reviewed-by: Daniel Lehmann <dlehmann@chromium.org> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/main@{#97978} | 1 年前 | |
[wasm-c-api][wasm] Roll to upstream 2ce1367 This CL updates the wasm.h and wasm.hh headers and relative examples to the latest revision of the wasm-c-api specification (see below for a description of the commits from upstream). This CL also updates the relevant pieces of code in src/wasm and related tests. This contains the following upstream commits: 2ce1367 Fix typo in threads.c (#184) 5f7ed69 Static lib define (#183) 13f3bfd Support MinGW (#182) f8fcfd7 Disable C tests 3a1ac36 Disable threads example ab4c456 Disable serialise example b41863a Deactivate table example, seems broken in V8 baba1c5 Special handling for table entries a18ad80 Debug output c498c73 Fix examples f4d055f V8 compile flags 8ba37d3 Linking issues f83333e Upgrade wasm-v8 cbf8997 Missing include 5e9e9be Instantiate Managed template f0692ea Avoid DISPATCH_FALLTHROUGH 37fd4ed Fix compilation errors f6919ed Upgrade V8 d60c38b Pull depot_tools b87c16d Downgrade Python for CI 38a85e0 Setup CI b6dd1fb Add validate operation to hello example (#175) c9d3128 Fix typo in multi.c: args should be i32, i64, i64, i32 (#163) fd09246 Make it possible to subclass wasm C++ API classes for the implementor. (#161) ac9b509 Make wasm_##type##_copy take a const pointer. (#162) 89e988a Use (void) to specify “no argument” in C. (#160) b7636f6 Fix warning about casting from pointer to integer of different size. (#159) 3a31b7e Add Wasmer as an implementor of Wasm C API (#152) 43b275e Forgot to add a commit b922f77 Distinguish name constructors for zt strings (#151) af6e0fb Use vectors for calls and imports (#145) 340fd95 Fopen in binary mode (#138) eaa7d5b Fix missing lock guard (#130) 06e4871 Updates b0b4bfb Use enum classes (#121) d9a8009 C++ conformance tweaks (#120) 8782d5b Add WASM_API _EXTERN macro (#77) 10a4a64 Fix apparent bug in multi.c (#113) d71b9dc Mark source vector as const in wasm_<name>_vec_copy (#111) acd4a52 Set the rhs vec to invalid_size after a move (#109) 6db391e Remove a few more leftover uses of _enum types bf31edf Fix life times of host info (#96) Change-Id: I2bfefc761d54bb6e102a09ae3bb7073b32cc8ceb Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6087801 Commit-Queue: Jakob Kummerow <jkummerow@chromium.org> Reviewed-by: Daniel Lehmann <dlehmann@chromium.org> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/main@{#97978} | 1 年前 | |
[wasm-c-api][wasm] Roll to upstream 2ce1367 This CL updates the wasm.h and wasm.hh headers and relative examples to the latest revision of the wasm-c-api specification (see below for a description of the commits from upstream). This CL also updates the relevant pieces of code in src/wasm and related tests. This contains the following upstream commits: 2ce1367 Fix typo in threads.c (#184) 5f7ed69 Static lib define (#183) 13f3bfd Support MinGW (#182) f8fcfd7 Disable C tests 3a1ac36 Disable threads example ab4c456 Disable serialise example b41863a Deactivate table example, seems broken in V8 baba1c5 Special handling for table entries a18ad80 Debug output c498c73 Fix examples f4d055f V8 compile flags 8ba37d3 Linking issues f83333e Upgrade wasm-v8 cbf8997 Missing include 5e9e9be Instantiate Managed template f0692ea Avoid DISPATCH_FALLTHROUGH 37fd4ed Fix compilation errors f6919ed Upgrade V8 d60c38b Pull depot_tools b87c16d Downgrade Python for CI 38a85e0 Setup CI b6dd1fb Add validate operation to hello example (#175) c9d3128 Fix typo in multi.c: args should be i32, i64, i64, i32 (#163) fd09246 Make it possible to subclass wasm C++ API classes for the implementor. (#161) ac9b509 Make wasm_##type##_copy take a const pointer. (#162) 89e988a Use (void) to specify “no argument” in C. (#160) b7636f6 Fix warning about casting from pointer to integer of different size. (#159) 3a31b7e Add Wasmer as an implementor of Wasm C API (#152) 43b275e Forgot to add a commit b922f77 Distinguish name constructors for zt strings (#151) af6e0fb Use vectors for calls and imports (#145) 340fd95 Fopen in binary mode (#138) eaa7d5b Fix missing lock guard (#130) 06e4871 Updates b0b4bfb Use enum classes (#121) d9a8009 C++ conformance tweaks (#120) 8782d5b Add WASM_API _EXTERN macro (#77) 10a4a64 Fix apparent bug in multi.c (#113) d71b9dc Mark source vector as const in wasm_<name>_vec_copy (#111) acd4a52 Set the rhs vec to invalid_size after a move (#109) 6db391e Remove a few more leftover uses of _enum types bf31edf Fix life times of host info (#96) Change-Id: I2bfefc761d54bb6e102a09ae3bb7073b32cc8ceb Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6087801 Commit-Queue: Jakob Kummerow <jkummerow@chromium.org> Reviewed-by: Daniel Lehmann <dlehmann@chromium.org> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/main@{#97978} | 1 年前 | |
[tools] Fix shell path directory return TestConfig's resolve_shell method (introduced in https://crrev.com/c/4538761) lacks the ability to return shell path directory in contexts such as iOS (and probably Android, among others also). This fixes that by effectively removing resolve_shell and using Context's platform_shell method instead. In practice, this CL brings back iOS support for those test runners. Bug: chromium:1132088 Change-Id: I30b1d48d834caa578ba0a34837d63eb01af89ef6 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4652955 Auto-Submit: Tiago Vignatti <tvignatti@igalia.com> Reviewed-by: Michael Achenbach <machenbach@chromium.org> Commit-Queue: Tiago Vignatti <tvignatti@igalia.com> Cr-Commit-Position: refs/heads/main@{#88556} | 2 年前 | |
[wasm-c-api][wasm] Roll to upstream 2ce1367 This CL updates the wasm.h and wasm.hh headers and relative examples to the latest revision of the wasm-c-api specification (see below for a description of the commits from upstream). This CL also updates the relevant pieces of code in src/wasm and related tests. This contains the following upstream commits: 2ce1367 Fix typo in threads.c (#184) 5f7ed69 Static lib define (#183) 13f3bfd Support MinGW (#182) f8fcfd7 Disable C tests 3a1ac36 Disable threads example ab4c456 Disable serialise example b41863a Deactivate table example, seems broken in V8 baba1c5 Special handling for table entries a18ad80 Debug output c498c73 Fix examples f4d055f V8 compile flags 8ba37d3 Linking issues f83333e Upgrade wasm-v8 cbf8997 Missing include 5e9e9be Instantiate Managed template f0692ea Avoid DISPATCH_FALLTHROUGH 37fd4ed Fix compilation errors f6919ed Upgrade V8 d60c38b Pull depot_tools b87c16d Downgrade Python for CI 38a85e0 Setup CI b6dd1fb Add validate operation to hello example (#175) c9d3128 Fix typo in multi.c: args should be i32, i64, i64, i32 (#163) fd09246 Make it possible to subclass wasm C++ API classes for the implementor. (#161) ac9b509 Make wasm_##type##_copy take a const pointer. (#162) 89e988a Use (void) to specify “no argument” in C. (#160) b7636f6 Fix warning about casting from pointer to integer of different size. (#159) 3a31b7e Add Wasmer as an implementor of Wasm C API (#152) 43b275e Forgot to add a commit b922f77 Distinguish name constructors for zt strings (#151) af6e0fb Use vectors for calls and imports (#145) 340fd95 Fopen in binary mode (#138) eaa7d5b Fix missing lock guard (#130) 06e4871 Updates b0b4bfb Use enum classes (#121) d9a8009 C++ conformance tweaks (#120) 8782d5b Add WASM_API _EXTERN macro (#77) 10a4a64 Fix apparent bug in multi.c (#113) d71b9dc Mark source vector as const in wasm_<name>_vec_copy (#111) acd4a52 Set the rhs vec to invalid_size after a move (#109) 6db391e Remove a few more leftover uses of _enum types bf31edf Fix life times of host info (#96) Change-Id: I2bfefc761d54bb6e102a09ae3bb7073b32cc8ceb Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6087801 Commit-Queue: Jakob Kummerow <jkummerow@chromium.org> Reviewed-by: Daniel Lehmann <dlehmann@chromium.org> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/main@{#97978} | 1 年前 | |
[wasm-c-api][wasm] Roll to upstream 2ce1367 This CL updates the wasm.h and wasm.hh headers and relative examples to the latest revision of the wasm-c-api specification (see below for a description of the commits from upstream). This CL also updates the relevant pieces of code in src/wasm and related tests. This contains the following upstream commits: 2ce1367 Fix typo in threads.c (#184) 5f7ed69 Static lib define (#183) 13f3bfd Support MinGW (#182) f8fcfd7 Disable C tests 3a1ac36 Disable threads example ab4c456 Disable serialise example b41863a Deactivate table example, seems broken in V8 baba1c5 Special handling for table entries a18ad80 Debug output c498c73 Fix examples f4d055f V8 compile flags 8ba37d3 Linking issues f83333e Upgrade wasm-v8 cbf8997 Missing include 5e9e9be Instantiate Managed template f0692ea Avoid DISPATCH_FALLTHROUGH 37fd4ed Fix compilation errors f6919ed Upgrade V8 d60c38b Pull depot_tools b87c16d Downgrade Python for CI 38a85e0 Setup CI b6dd1fb Add validate operation to hello example (#175) c9d3128 Fix typo in multi.c: args should be i32, i64, i64, i32 (#163) fd09246 Make it possible to subclass wasm C++ API classes for the implementor. (#161) ac9b509 Make wasm_##type##_copy take a const pointer. (#162) 89e988a Use (void) to specify “no argument” in C. (#160) b7636f6 Fix warning about casting from pointer to integer of different size. (#159) 3a31b7e Add Wasmer as an implementor of Wasm C API (#152) 43b275e Forgot to add a commit b922f77 Distinguish name constructors for zt strings (#151) af6e0fb Use vectors for calls and imports (#145) 340fd95 Fopen in binary mode (#138) eaa7d5b Fix missing lock guard (#130) 06e4871 Updates b0b4bfb Use enum classes (#121) d9a8009 C++ conformance tweaks (#120) 8782d5b Add WASM_API _EXTERN macro (#77) 10a4a64 Fix apparent bug in multi.c (#113) d71b9dc Mark source vector as const in wasm_<name>_vec_copy (#111) acd4a52 Set the rhs vec to invalid_size after a move (#109) 6db391e Remove a few more leftover uses of _enum types bf31edf Fix life times of host info (#96) Change-Id: I2bfefc761d54bb6e102a09ae3bb7073b32cc8ceb Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6087801 Commit-Queue: Jakob Kummerow <jkummerow@chromium.org> Reviewed-by: Daniel Lehmann <dlehmann@chromium.org> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/main@{#97978} | 1 年前 | |
[wasm-c-api][wasm] Roll to upstream 2ce1367 This CL updates the wasm.h and wasm.hh headers and relative examples to the latest revision of the wasm-c-api specification (see below for a description of the commits from upstream). This CL also updates the relevant pieces of code in src/wasm and related tests. This contains the following upstream commits: 2ce1367 Fix typo in threads.c (#184) 5f7ed69 Static lib define (#183) 13f3bfd Support MinGW (#182) f8fcfd7 Disable C tests 3a1ac36 Disable threads example ab4c456 Disable serialise example b41863a Deactivate table example, seems broken in V8 baba1c5 Special handling for table entries a18ad80 Debug output c498c73 Fix examples f4d055f V8 compile flags 8ba37d3 Linking issues f83333e Upgrade wasm-v8 cbf8997 Missing include 5e9e9be Instantiate Managed template f0692ea Avoid DISPATCH_FALLTHROUGH 37fd4ed Fix compilation errors f6919ed Upgrade V8 d60c38b Pull depot_tools b87c16d Downgrade Python for CI 38a85e0 Setup CI b6dd1fb Add validate operation to hello example (#175) c9d3128 Fix typo in multi.c: args should be i32, i64, i64, i32 (#163) fd09246 Make it possible to subclass wasm C++ API classes for the implementor. (#161) ac9b509 Make wasm_##type##_copy take a const pointer. (#162) 89e988a Use (void) to specify “no argument” in C. (#160) b7636f6 Fix warning about casting from pointer to integer of different size. (#159) 3a31b7e Add Wasmer as an implementor of Wasm C API (#152) 43b275e Forgot to add a commit b922f77 Distinguish name constructors for zt strings (#151) af6e0fb Use vectors for calls and imports (#145) 340fd95 Fopen in binary mode (#138) eaa7d5b Fix missing lock guard (#130) 06e4871 Updates b0b4bfb Use enum classes (#121) d9a8009 C++ conformance tweaks (#120) 8782d5b Add WASM_API _EXTERN macro (#77) 10a4a64 Fix apparent bug in multi.c (#113) d71b9dc Mark source vector as const in wasm_<name>_vec_copy (#111) acd4a52 Set the rhs vec to invalid_size after a move (#109) 6db391e Remove a few more leftover uses of _enum types bf31edf Fix life times of host info (#96) Change-Id: I2bfefc761d54bb6e102a09ae3bb7073b32cc8ceb Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/6087801 Commit-Queue: Jakob Kummerow <jkummerow@chromium.org> Reviewed-by: Daniel Lehmann <dlehmann@chromium.org> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/main@{#97978} | 1 年前 | |
[heap] Remove third party heap interface The interface at this point is outdated and not actively used. In addition, there's various bits and pieces missing for incremental/concurrent GCs. Change-Id: I346007d579ccc9803f5764eef905a61a2a6e6947 Bug: 360909070 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5797605 Reviewed-by: Anton Bikineev <bikineev@chromium.org> Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/main@{#95718} | 1 年前 |