diff options
Diffstat (limited to 'compiler-rt/lib/profile/InstrProfilingExtras.h')
| -rw-r--r-- | compiler-rt/lib/profile/InstrProfilingExtras.h | 7 | 
1 files changed, 5 insertions, 2 deletions
diff --git a/compiler-rt/lib/profile/InstrProfilingExtras.h b/compiler-rt/lib/profile/InstrProfilingExtras.h index a564a15361e..1ab90cc873f 100644 --- a/compiler-rt/lib/profile/InstrProfilingExtras.h +++ b/compiler-rt/lib/profile/InstrProfilingExtras.h @@ -14,15 +14,18 @@   * or if it hasn't been called, the \c LLVM_PROFILE_FILE environment variable,   * or if that's not set, \c "default.profdata".   */ -void __llvm_profile_write_file(void); +int __llvm_profile_write_file(void);  /*!   * \brief Set the filename for writing instrumentation data.   *   * Sets the filename to be used for subsequent calls to   * \a __llvm_profile_write_file(). + * + * \c Name is not copied, so it must remain valid.  Passing NULL resets the + * filename logic to the default behaviour.   */  void __llvm_profile_set_filename(const char *Name);  /*! \brief Register to write instrumentation data to file at exit. */ -void __llvm_profile_register_write_file_atexit(void); +int __llvm_profile_register_write_file_atexit(void);  | 

