Home | History | Annotate | Download | only in linker-flags
      1 // Copyright (c) 2013 Google Inc. 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 
      5 #include "inline_test.h"
      6 
      7 #include <intrin.h>
      8 #pragma intrinsic(_ReturnAddress)
      9 
     10 bool IsFunctionInlined(void* caller_return_address) {
     11   return _ReturnAddress() == caller_return_address;
     12 }
     13