xref: /aosp_15_r20/external/cronet/base/allocator/partition_allocator/src/partition_alloc/pointers/empty.cc (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1 // Copyright 2023 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 // This empty.cc is built when raw_ptr_noop_impl.h is used to avoid
6 // the situation: no object files are linked to build raw_ptr.dll.
7 // If raw_ptr target's sources has only header files, no object
8 // files will be generated and we will see the following error:
9 // "lld_link:error: <root>: undefined symbol: _DllMainCRTStartup."
10