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 /* int __llvm_profile_runtime */
15 COMPILER_RT_VISIBILITY int INSTR_PROF_PROFILE_RUNTIME_VAR;
20 class RegisterRuntime {
23 __llvm_profile_register_write_file_atexit();
24 __llvm_profile_initialize_file();
28 RegisterRuntime Registration;