[llvm-commits] CVS: llvm/include/llvm/System/MappedFile.h Signals.h
Reid Spencer
reid at x10sys.com
Fri Aug 25 14:37:33 PDT 2006
Changes in directory llvm/include/llvm/System:
MappedFile.h updated: 1.11 -> 1.12
Signals.h updated: 1.17 -> 1.18
---
Log message:
For PR797: http://llvm.org/PR797 :
Make the Win32 code exception free (untested/uncompiled) which forced some
interface changes which had ripple effect. This should be the last of 797.
---
Diffs of the changes: (+3 -3)
MappedFile.h | 2 +-
Signals.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
Index: llvm/include/llvm/System/MappedFile.h
diff -u llvm/include/llvm/System/MappedFile.h:1.11 llvm/include/llvm/System/MappedFile.h:1.12
--- llvm/include/llvm/System/MappedFile.h:1.11 Tue Aug 22 11:04:22 2006
+++ llvm/include/llvm/System/MappedFile.h Fri Aug 25 16:37:17 2006
@@ -134,7 +134,7 @@
/// areas of memory after this call.
/// @throws std::string if an error occurs
/// @brief Set the size of the file and memory mapping.
- void size(size_t new_size);
+ bool size(size_t new_size, std::string* ErrMsg = 0);
void close() { if (info_) terminate(); }
Index: llvm/include/llvm/System/Signals.h
diff -u llvm/include/llvm/System/Signals.h:1.17 llvm/include/llvm/System/Signals.h:1.18
--- llvm/include/llvm/System/Signals.h:1.17 Wed Jul 26 11:55:39 2006
+++ llvm/include/llvm/System/Signals.h Fri Aug 25 16:37:17 2006
@@ -24,13 +24,13 @@
/// 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.
- void RemoveFileOnSignal(const Path &Filename);
+ bool RemoveFileOnSignal(const Path &Filename, std::string* ErrMsg = 0);
/// This function registers a signal handler to ensure that if a fatal signal
/// gets delivered to the process that the named directory and all its
/// contents are removed.
/// @brief Remove a directory if a fatal signal occurs.
- void RemoveDirectoryOnSignal(const Path& path);
+ bool RemoveDirectoryOnSignal(const Path& path, std::string* ErrMsg = 0);
/// When an error signal (such as SIBABRT or SIGSEGV) is delivered to the
/// process, print a stack trace and then exit.
More information about the llvm-commits
mailing list