Avi Drissman | e4622aa | 2022-09-08 20:36:06 | [diff] [blame] | 1 | // Copyright 2011 The Chromium Authors |
[email protected] | fcb30f7b | 2011-05-19 22:28:25 | [diff] [blame] | 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" | ||||
Hans Wennborg | b3e433a | 2020-04-21 11:21:40 | [diff] [blame] | 6 | |
Hans Wennborg | b3e433a | 2020-04-21 11:21:40 | [diff] [blame] | 7 | #include "base/compiler_specific.h" |
[email protected] | fcb30f7b | 2011-05-19 22:28:25 | [diff] [blame] | 8 | |
Peter Kasting | 811504a7 | 2025-01-09 03:18:50 | [diff] [blame] | 9 | namespace base::debug { |
[email protected] | fcb30f7b | 2011-05-19 22:28:25 | [diff] [blame] | 10 | |
Bruce Dawson | 6354145 | 2018-12-20 03:09:45 | [diff] [blame] | 11 | // This file/function should be excluded from LTO/LTCG to ensure that the |
12 | // compiler can't see this function's implementation when compiling calls to it. | ||||
13 | NOINLINE void Alias(const void* var) {} | ||||
[email protected] | 26f5461 | 2011-05-20 23:29:23 | [diff] [blame] | 14 | |
Peter Kasting | 811504a7 | 2025-01-09 03:18:50 | [diff] [blame] | 15 | } // namespace base::debug |