v8/test/unittests/api
Camillo Bruni 35fc0c17c9 [snapshot][api] Expose the snapshot checksum as crash key
Due to the consistent overhead of snapshot checksum verification
we ideally want to avoid it all-together. However there are still enough
devices out there that suffer from corrupted snapshots that might
cause hard to debug heap corruptions.

This CL exposes the calculated (dummy value for now) and the expected
snapshot checksum as a crash key, so it can be easily consulted during
investigation.

Note: The calculated crash key contains 0x0 for now as a dummy value. We
will come up with a strategy later-on to limit the overhead of
calculating the checksum.

Bug: v8:12195
Change-Id: I6da6d74c035cb6f9b0edae212a36e6c41c048a5b
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3605813
Reviewed-by: Jakob Linke <jgruber@chromium.org>
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/main@{#80325}
2022-05-03 08:30:07 +00:00
..
access-check-unittest.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
deserialize-unittest.cc [test] Add a unittest platform setup mixin 2022-04-06 13:07:43 +00:00
exception-unittest.cc [test] Migrate TEST(TryCatch...) in cctest/test-api to unittests. 2022-04-19 15:11:37 +00:00
interceptor-unittest.cc [runtime] Fix handling of interceptors 2022-03-24 17:50:12 +00:00
isolate-unittest.cc [snapshot][api] Expose the snapshot checksum as crash key 2022-05-03 08:30:07 +00:00
remote-object-unittest.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
resource-constraints-unittest.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
v8-maybe-unittest.cc api: Allow v8::Maybe<MovableType>. 2022-04-30 21:47:24 +00:00
v8-object-unittest.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00