aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/Signals.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/Signals.cpp')
-rw-r--r--lib/Support/Signals.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Support/Signals.cpp b/lib/Support/Signals.cpp
index efc5f71257..73decfd89b 100644
--- a/lib/Support/Signals.cpp
+++ b/lib/Support/Signals.cpp
@@ -20,6 +20,8 @@
#include <signal.h>
#include "Config/config.h" // Get the signal handler return type
+namespace llvm {
+
static std::vector<std::string> FilesToRemove;
// IntSigs - Signals that may interrupt the program at any time.
@@ -62,3 +64,5 @@ void RemoveFileOnSignal(const std::string &Filename) {
std::for_each(IntSigs, IntSigsEnd, RegisterHandler);
std::for_each(KillSigs, KillSigsEnd, RegisterHandler);
}
+
+} // End llvm namespace