v8/test
Seth Brenith 6b11b700d7 [torque][tools] Define layout of DescriptorArray for postmortem tools
This change defines a way that v8_debug_helper can describe object
fields which are packed structs, and uses it for the "descriptors" field
in DescriptorArray.

In more detail:
- debug-helper.h (the public interface for v8_debug_helper) adds a size
  and an optional list of struct properties to ObjectProperty.
- debug-helper-internal.h mirrors those changes to the internal class
  hierarchy which maintains proper unique_ptr ownership.
- In src/torque/class-debug-reader-generator.cc,
  - Some existing logic is moved into smaller functions.
  - New logic is added to generate the field list for structs. Example
    output is included in a comment above the function
    GenerateGetPropsChunkForField.

Bug: v8:9376
Change-Id: I531acac039ccb42050641448a4cbaec26186a7bc
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1894362
Commit-Queue: Seth Brenith <seth.brenith@microsoft.com>
Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#65079}
2019-11-20 16:56:39 +00:00
..
benchmarks Remove 'embedded_builtins' variant 2019-10-22 12:58:02 +00:00
cctest [torque][tools] Define layout of DescriptorArray for postmortem tools 2019-11-20 16:56:39 +00:00
common [codegen] Reduce kMinimalBufferSize and add kDefaultBufferSize 2019-11-14 15:05:31 +00:00
debugger [wasm] Support stepping into Wasm from Javascript 2019-11-18 19:59:32 +00:00
fuzzer [wasm] Remove one {NewNativeModule} method 2019-11-07 18:07:29 +00:00
inspector Revert "[wasm] Prevent breakpoints on nonbreakable positions" 2019-11-20 15:51:41 +00:00
intl [Intl] Prototype Intl.DisplayNames 2019-11-18 21:48:22 +00:00
js-perf-test [js-perf-tests] Adds performance tests for BigInt subtraction 2019-10-22 13:32:09 +00:00
memory [owners] Remove redundant OWNERS files in test/ 2019-06-24 12:44:32 +00:00
message V8 Wasm locations should always be based on byte offsets 2019-11-05 14:53:45 +00:00
mjsunit [wasm][bulk-memory] Change bounds checks behavior 2019-11-20 15:07:17 +00:00
mkgrokdump [heap] Enable Verify for RO_SPACE when it is shared 2019-11-04 09:55:45 +00:00
mozilla Un-marking tests that were marked SLOW due to TNodification 2019-11-04 13:30:30 +00:00
test262 [class] Remove local test262 private class field tests 2019-11-19 00:34:46 +00:00
torque [torque] fix formatting of union types 2019-10-24 10:05:25 +00:00
unittests [objects] rename kSize to kHeaderSize for JSObject subclasses 2019-11-18 15:17:52 +00:00
wasm-api-tests Remove 'embedded_builtins' variant 2019-10-22 12:58:02 +00:00
wasm-js [wasm] Update spec tests 2019-11-18 12:55:02 +00:00
wasm-spec-tests [wasm][bulk-memory] Change bounds checks behavior 2019-11-20 15:07:17 +00:00
webkit [builtins] Port %TypedArray%.prototype.set to Torque 2019-11-06 12:51:21 +00:00
BUILD.gn [preparser] deprecate stand-alone "preparser" test-suite 2019-11-20 08:52:59 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00