• Zhi An Ng's avatar
    Revert "[wasm][diagnostics] Support WasmCode in gdb JIT integration" · b9c7fc27
    Zhi An Ng authored
    This reverts commit a3b2c4ec.
    
    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}
    b9c7fc27
wasm-code-manager.cc 99.5 KB