diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2013-01-09 19:42:40 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2013-01-09 19:42:40 +0000 |
commit | f48acd5ecd2616623f441f2922d8b4c637e3cd6c (patch) | |
tree | 251011630f07e232dfabe43e5f87bcbcce4b4b61 /lib/Support/Windows/Signals.inc | |
parent | 5581115075e688bdf44920f6b93dd42e94c3ccf6 (diff) |
Move the internal PrintStackTrace function that is used for llvm::sys::PrintStackTraceOnErrorSignal(),
into a new function llvm::sys::PrintStackTrace, so that it's available to clients for logging purposes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171989 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Windows/Signals.inc')
-rw-r--r-- | lib/Support/Windows/Signals.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Support/Windows/Signals.inc b/lib/Support/Windows/Signals.inc index a969753217..3dd6660b03 100644 --- a/lib/Support/Windows/Signals.inc +++ b/lib/Support/Windows/Signals.inc @@ -295,6 +295,10 @@ void sys::PrintStackTraceOnErrorSignal() { LeaveCriticalSection(&CriticalSection); } +void llvm::sys::PrintStackTrace(FILE *) { + // FIXME: Implement. +} + void sys::SetInterruptFunction(void (*IF)()) { RegisterHandler(); |