alias.cc 513 B

1234567891011121314151617
  1. // Copyright (c) 2011 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "base/debug/alias.h"
  5. #include "base/compiler_specific.h"
  6. namespace base {
  7. namespace debug {
  8. // This file/function should be excluded from LTO/LTCG to ensure that the
  9. // compiler can't see this function's implementation when compiling calls to it.
  10. NOINLINE void Alias(const void* var) {}
  11. } // namespace debug
  12. } // namespace base