• Seth Brenith's avatar
    [torque][tools] Define layout of DescriptorArray for postmortem tools · 6b11b700
    Seth Brenith authored
    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: 's avatarTobias Tebbi <tebbi@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#65079}
    6b11b700
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-api-tests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...