diff options
Diffstat (limited to 'include/llvm/Support/Signals.h')
-rw-r--r-- | include/llvm/Support/Signals.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/Signals.h b/include/llvm/Support/Signals.h index 465656b94116f..58ed175dc22b8 100644 --- a/include/llvm/Support/Signals.h +++ b/include/llvm/Support/Signals.h @@ -28,11 +28,11 @@ namespace sys { /// This function registers signal handlers to ensure that if a signal gets /// delivered that the named file is removed. /// @brief Remove a file if a fatal signal occurs. - bool RemoveFileOnSignal(const Path &Filename, std::string* ErrMsg = 0); + bool RemoveFileOnSignal(StringRef Filename, std::string* ErrMsg = 0); /// This function removes a file from the list of files to be removed on /// signal delivery. - void DontRemoveFileOnSignal(const Path &Filename); + void DontRemoveFileOnSignal(StringRef Filename); /// When an error signal (such as SIBABRT or SIGSEGV) is delivered to the /// process, print a stack trace and then exit. |