diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2013-03-26 01:27:52 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2013-03-26 01:27:52 +0000 |
commit | 4e06def851a32cbe1a7d18562462850cb9ca2a1e (patch) | |
tree | 4e75b9aa7f52a0b25360659790d546171270bf92 /llvm/lib/Support/CMakeLists.txt | |
parent | 2f59302ce804c0886ccc4dcdd5e51789981d4bc3 (diff) | |
download | bcm5719-llvm-4e06def851a32cbe1a7d18562462850cb9ca2a1e.tar.gz bcm5719-llvm-4e06def851a32cbe1a7d18562462850cb9ca2a1e.zip |
Add a new watchdog timer interface. The interface does not permit handling timeouts, so
it's only really useful if you're going to crash anyways. Use it in the pretty stack trace
printer to kill the compiler if we hang while printing the stack trace.
llvm-svn: 177962
Diffstat (limited to 'llvm/lib/Support/CMakeLists.txt')
-rw-r--r-- | llvm/lib/Support/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Support/CMakeLists.txt b/llvm/lib/Support/CMakeLists.txt index 5ba69fc3c8c..a83558fafb7 100644 --- a/llvm/lib/Support/CMakeLists.txt +++ b/llvm/lib/Support/CMakeLists.txt @@ -95,6 +95,7 @@ add_llvm_library(LLVMSupport Unix/system_error.inc Unix/ThreadLocal.inc Unix/TimeValue.inc + Unix/Watchdog.inc Windows/DynamicLibrary.inc Windows/Host.inc Windows/Memory.inc @@ -108,4 +109,5 @@ add_llvm_library(LLVMSupport Windows/system_error.inc Windows/ThreadLocal.inc Windows/TimeValue.inc + Windows/Watchdog.inc ) |