commit | 53f694b34a8d584ce0b6bbc1903730f43bdb3538 | [log] [tgz] |
---|---|---|
author | Brandon Jones <brandon1.jones@intel.com> | Thu Apr 16 23:59:03 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Thu Apr 16 23:59:03 2020 +0000 |
tree | 6bb251e3d6c69f15eb31d07bea6bd69ff3f1b4b4 | |
parent | 82ae680cccc45daf8e4cf452689254c91a304982 [diff] |
Fix ASAN violation when a heap outlives the ResidencyManager It's possible for a heap in the residency LRU to outlive the ResidencyManager. When this happens, some heap in the LRU will be referencing the LRU head node. On destruction, the outstanding heap will attempt to access the LRU head node after the memory has been freed. This commit removes the LinkedList head node from the list within the LinkedList destructor to fix the bug. Bug: dawn:387 Change-Id: I13617d1b4e464e1541f989f31caecd4305037019 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/19581 Reviewed-by: Rafael Cintron <rafael.cintron@microsoft.com> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Brandon Jones <brandon1.jones@intel.com>
Dawn is an open-source and cross-platform implementation of the work-in-progress 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 webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.