1 /*===- InstrProfilingUtil.h - Support library for PGO instrumentation -----===*\ 2 |* 3 |* The LLVM Compiler Infrastructure 4 |* 5 |* This file is distributed under the University of Illinois Open Source 6 |* License. See LICENSE.TXT for details. 7 |* 8 \*===----------------------------------------------------------------------===*/ 9 10 #ifndef PROFILE_INSTRPROFILINGUTIL_H 11 #define PROFILE_INSTRPROFILINGUTIL_H 12 13 #include <stddef.h> 14 15 /*! \brief Create a directory tree. */ 16 void __llvm_profile_recursive_mkdir(char *Pathname); 17 18 /* PS4 doesn't have getenv. Define a shim. */ 19 #if __PS4__ 20 static inline char *getenv(const char *name) { return NULL; } 21 #endif /* #if __PS4__ */ 22 23 #endif /* PROFILE_INSTRPROFILINGUTIL_H */ 24