v8/src/wasm
Zhi An Ng b9c7fc2786 Revert "[wasm][diagnostics] Support WasmCode in gdb JIT integration"
This reverts commit a3b2c4ec81.

Reason for revert: UBSan https://logs.chromium.org/logs/v8/buildbucket/cr-buildbucket/8839060153390139249/+/u/Check/gdbjit

Original change's description:
> [wasm][diagnostics] Support WasmCode in gdb JIT integration
>
> - Add new enum WASM_CODE to JitCodeEvent::CodeType
> - Use AddressRegion instead of AddressRange (remove the latter)
> - Change CodeDescription constructor to take an AddressRegion,
>   both JIT_CODE and WASM_CODE use this
> - Add a simple mjsunit test that sets --gdbjit to check that
>   we don't crash.
> - Add a api test for adding WASM_CODE
>
> Bug: v8:11908
> Change-Id: I6e87fadc2df67978144d78caf9800c3982bc3705
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3067754
> Reviewed-by: Adam Klein <adamk@chromium.org>
> Reviewed-by: Clemens Backes <clemensb@chromium.org>
> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
> Commit-Queue: Zhi An Ng <zhin@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#76271}

Bug: v8:11908
Change-Id: Ic1a74a9239e8ef6107efd36f61c089ae6bfc5b6c
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3093365
Auto-Submit: Zhi An Ng <zhin@chromium.org>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#76274}
2021-08-12 23:59:14 +00:00
..
baseline [wasm-simd][ia32][x64] Share i8x16.shl implementation 2021-08-12 20:26:23 +00:00
branch-hint-map.h Implementation of the branch hinting proposal for WebAssembly. 2021-05-14 13:40:57 +00:00
c-api.cc [wasm][eh] Rename exception to tag 2021-07-29 12:09:02 +00:00
c-api.h [no-wasm] Forbid including wasm headers in no-wasm builds 2021-03-16 08:48:55 +00:00
code-space-access.cc Reland "Reland: [wasm] Check correctness of thread-local write protection" 2021-08-11 16:48:02 +00:00
code-space-access.h Reland "Reland: [wasm] Check correctness of thread-local write protection" 2021-08-11 16:48:02 +00:00
compilation-environment.h Reland "[wasm] Support partial serialization of modules" 2021-07-30 11:18:38 +00:00
decoder.h [base] Create base/strings.h 2021-06-22 16:55:32 +00:00
DEPS
DIR_METADATA Add DIR_METADATA files to v8. 2020-10-20 22:12:28 +00:00
function-body-decoder-impl.h [wasm] Fix initialization of block merge types 2021-08-04 10:45:20 +00:00
function-body-decoder.cc [wasm][eh] Remove unwind instruction 2021-06-14 14:36:26 +00:00
function-body-decoder.h [wasm] Remove redundant inline annotations 2021-06-11 11:09:43 +00:00
function-compiler.cc [wasm] Add histograms for huge function compilation 2021-08-11 18:34:34 +00:00
function-compiler.h [wasm] Add CPU time metrics (reland) 2021-07-14 08:01:41 +00:00
graph-builder-interface.cc [Compiler] Remove untrusted code mitigations. 2021-08-12 12:58:24 +00:00
graph-builder-interface.h Implementation of the branch hinting proposal for WebAssembly. 2021-05-14 13:40:57 +00:00
init-expr-interface.cc Reland "[wasm] Refactor initializer expression handling" 2021-06-30 21:33:46 +00:00
init-expr-interface.h Reland "[wasm] Refactor initializer expression handling" 2021-06-30 21:33:46 +00:00
jump-table-assembler.cc Add RISC-V backend 2021-02-09 17:06:36 +00:00
jump-table-assembler.h [no-wasm] Forbid including wasm headers in no-wasm builds 2021-03-16 08:48:55 +00:00
leb-helper.h [wasm] Remove redundant inline annotations 2021-06-11 11:09:43 +00:00
local-decl-encoder.cc Revert to use memcpy instead of base::Memcpy 2021-06-10 10:19:24 +00:00
local-decl-encoder.h [no-wasm] Forbid including wasm headers in no-wasm builds 2021-03-16 08:48:55 +00:00
memory-protection-key.cc Reland "[wasm] Fix fallback from PKU to mprotect" 2021-07-13 13:27:56 +00:00
memory-protection-key.h Reland "[wasm] Fix fallback from PKU to mprotect" 2021-07-13 13:27:56 +00:00
memory-tracing.cc [base] Create base/strings.h 2021-06-22 16:55:32 +00:00
memory-tracing.h [no-wasm] Forbid including wasm headers in no-wasm builds 2021-03-16 08:48:55 +00:00
module-compiler.cc [wasm] Remove special handling for predictable mode 2021-08-12 14:02:49 +00:00
module-compiler.h [wasm] Pass and store fewer wasm engine pointers 2021-06-21 11:57:45 +00:00
module-decoder.cc [wasm-gc] Experiment: accept types with explicit inheritance 2021-08-06 13:35:37 +00:00
module-decoder.h Reland "[wasm] Refactor initializer expression handling" 2021-06-30 21:33:46 +00:00
module-instantiate.cc Reland "[counters] Fix reentrant timers for V8.Execute" 2021-08-09 18:41:50 +00:00
module-instantiate.h [no-wasm] Forbid including wasm headers in no-wasm builds 2021-03-16 08:48:55 +00:00
object-access.h [no-wasm] Forbid including wasm headers in no-wasm builds 2021-03-16 08:48:55 +00:00
OWNERS [wasm] Make manoskouk and thibaudm full wasm owners 2021-05-04 08:11:05 +00:00
signature-map.cc
signature-map.h [no-wasm] Forbid including wasm headers in no-wasm builds 2021-03-16 08:48:55 +00:00
simd-shuffle.cc [wasm-simd] Add missing include for std::all_of 2021-03-23 16:45:16 +00:00
simd-shuffle.h [wasm-simd][x64][ia32] Optimize swizzle with constant indices 2021-03-22 20:33:45 +00:00
streaming-decoder.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
streaming-decoder.h [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
struct-types.h [wasm-gc][ic] Support WasmObjects in LoadIC 2021-05-26 17:49:49 +00:00
sync-streaming-decoder.cc [isolate][cleanup] Remove pointer to WasmEngine 2021-06-21 09:09:25 +00:00
value-type.cc [wasm] Move ValueKind out of ValueType 2021-02-22 10:52:50 +00:00
value-type.h [wasm] Implement EvaluateInitExpression 2021-06-04 13:34:16 +00:00
wasm-arguments.h [no-wasm] Forbid including wasm headers in no-wasm builds 2021-03-16 08:48:55 +00:00
wasm-code-manager.cc Revert "[wasm][diagnostics] Support WasmCode in gdb JIT integration" 2021-08-12 23:59:14 +00:00
wasm-code-manager.h [wasm] Disable permission switching if MAP_JIT is available 2021-08-11 15:16:12 +00:00
wasm-constants.h [wasm-gc] Experiment: accept types with explicit inheritance 2021-08-06 13:35:37 +00:00
wasm-debug.cc [liftoff] Refactor options for Liftoff compilation 2021-08-04 16:48:48 +00:00
wasm-debug.h [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
wasm-engine.cc [wasm] Remove NativeModule::engine_ pointer 2021-06-24 14:38:43 +00:00
wasm-engine.h Reland "[wasm] Provide a global WasmCodeManager" 2021-06-22 08:59:10 +00:00
wasm-external-refs.cc [Compiler] Remove untrusted code mitigations. 2021-08-12 12:58:24 +00:00
wasm-external-refs.h [no-wasm] Forbid including wasm headers in no-wasm builds 2021-03-16 08:48:55 +00:00
wasm-feature-flags.h [wasm-gc] Experiment: allow non-nullable locals 2021-07-07 15:41:01 +00:00
wasm-features.cc [api] Add callback to set up conditional features 2021-03-23 09:03:34 +00:00
wasm-features.h [api] Add callback to set up conditional features 2021-03-23 09:03:34 +00:00
wasm-import-wrapper-cache.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
wasm-import-wrapper-cache.h [wasm-c-api] Cache CapiCallWrappers in the NativeModule 2021-05-19 16:36:41 +00:00
wasm-init-expr.cc [wasm-gc] Add array.init constant expression 2021-06-14 08:23:06 +00:00
wasm-init-expr.h [wasm-gc] Add array.init constant expression 2021-06-14 08:23:06 +00:00
wasm-js.cc Fix some instances of -Wunreachable-code-aggressive. 2021-08-12 08:20:57 +00:00
wasm-js.h [api] Add callback to set up conditional features 2021-03-23 09:03:34 +00:00
wasm-limits.h [wasm][eh] Rename exception to tag 2021-07-29 12:09:02 +00:00
wasm-linkage.h [no-wasm] Forbid including wasm headers in no-wasm builds 2021-03-16 08:48:55 +00:00
wasm-module-builder.cc [wasm][eh] Rename exception to tag 2021-07-29 12:09:02 +00:00
wasm-module-builder.h [fuzzer] Adding struct.new and array.new operations 2021-07-28 16:45:56 +00:00
wasm-module-sourcemap.cc
wasm-module-sourcemap.h [no-wasm] Forbid including wasm headers in no-wasm builds 2021-03-16 08:48:55 +00:00
wasm-module.cc [wasm][eh] Rename exception to tag 2021-07-29 12:09:02 +00:00
wasm-module.h [wasm][eh] Rename exception to tag 2021-07-29 12:09:02 +00:00
wasm-objects-inl.h [Compiler] Remove untrusted code mitigations. 2021-08-12 12:58:24 +00:00
wasm-objects.cc [Compiler] Remove untrusted code mitigations. 2021-08-12 12:58:24 +00:00
wasm-objects.h [Compiler] Remove untrusted code mitigations. 2021-08-12 12:58:24 +00:00
wasm-objects.tq [wasm][eh] Rename exception to tag 2021-07-29 12:09:02 +00:00
wasm-opcodes-inl.h [wasm][eh] Remove unwind instruction 2021-06-14 14:36:26 +00:00
wasm-opcodes.cc [wasm] Remove multivalue feature flag 2021-04-13 06:35:34 +00:00
wasm-opcodes.h [wasm][eh] Remove unwind instruction 2021-06-14 14:36:26 +00:00
wasm-result.cc [base] Create base/strings.h 2021-06-22 16:55:32 +00:00
wasm-result.h [no-wasm] Forbid including wasm headers in no-wasm builds 2021-03-16 08:48:55 +00:00
wasm-serialization.cc [wasm] Only make needed regions writable 2021-08-09 11:30:01 +00:00
wasm-serialization.h [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
wasm-subtyping.cc [wasm][bug] Remove deleted WasmModule from typing cache 2021-05-05 08:30:56 +00:00
wasm-subtyping.h [wasm][bug] Remove deleted WasmModule from typing cache 2021-05-05 08:30:56 +00:00
wasm-tier.h [no-wasm] Forbid including wasm headers in no-wasm builds 2021-03-16 08:48:55 +00:00
wasm-value.h [wasm] Do not enforce LE for globals and WasmValue 2021-06-10 18:08:38 +00:00