DanglingPointerDetector: Record and print release stack traces When a dangling raw_ptr<T> is detected at free() time via partition_alloc::SetDanglingRawPtrDetectedFn, record the stack trace where the memory was freed using Abseil's stack trace utility. When the dangling raw_ptr stops referencing the freed memory region via partition_alloc::SetDanglingRawPtrReleasedFn, print both the stack trace where the memory was freed and where the dangling pointer was released. Fixed: 522635660 Change-Id: Idf01dd1de3e96f0a531304df87bbe812ec26c7ed Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/316815 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Dawn is an open-source and cross-platform implementation of the WebGPU standard. More precisely it implements webgpu.h that is a one-to-one mapping with the WebGPU IDL. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.
Dawn provides several WebGPU building blocks:
webgpu.h version that Dawn implements.webgpu.h.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.