xref: /aosp_15_r20/external/cronet/base/debug/alias.cc (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1 // Copyright 2011 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 #include "base/debug/alias.h"
6 
7 #include "base/compiler_specific.h"
8 
9 namespace base {
10 namespace debug {
11 
12 // This file/function should be excluded from LTO/LTCG to ensure that the
13 // compiler can't see this function's implementation when compiling calls to it.
Alias(const void * var)14 NOINLINE void Alias(const void* var) {}
15 
16 }  // namespace debug
17 }  // namespace base
18