1 //===- InstrProfilingRuntime.cpp - PGO runtime initialization -------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
12 #include "InstrProfiling.h"
14 __attribute__((visibility("hidden"))) int __llvm_profile_runtime
;
20 class RegisterRuntime
{
23 __llvm_profile_register_write_file_atexit();
24 __llvm_profile_initialize_file();
28 RegisterRuntime Registration
;