// Copyright 2021 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef V8_BASE_SANITIZER_LSAN_VIRTUAL_ADDRESS_SPACE_H_ #define V8_BASE_SANITIZER_LSAN_VIRTUAL_ADDRESS_SPACE_H_ #include "include/v8-platform.h" #include "src/base/base-export.h" #include "src/base/compiler-specific.h" namespace v8 { namespace base { Address; // This is a v8::VirtualAddressSpace implementation that decorates provided page // allocator object with leak sanitizer notifications when LEAK_SANITIZER is // defined. class V8_BASE_EXPORT LsanVirtualAddressSpace final : public v8::VirtualAddressSpace { … }; } // namespace base } // namespace v8 #endif // V8_BASE_SANITIZER_LSAN_VIRTUAL_ADDRESS_SPACE_H_