diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2018-07-17 10:04:19 +0000 |
|---|---|---|
| committer | Jonas Devlieghere <jonas@devlieghere.com> | 2018-07-17 10:04:19 +0000 |
| commit | 2ad6e0a6966afc1c74720448c8a0f76a3c2a1aaa (patch) | |
| tree | 3f0b46672afbbbbabf2574215626e80ea007f73e /lldb/source/Initialization | |
| parent | a35798db9155e5b794e76e860e59685dbd16476c (diff) | |
| download | bcm5719-llvm-2ad6e0a6966afc1c74720448c8a0f76a3c2a1aaa.tar.gz bcm5719-llvm-2ad6e0a6966afc1c74720448c8a0f76a3c2a1aaa.zip | |
Move pretty stack trace printer into driver.
We used to have a pretty stack trace printer in SystemInitializerCommon.
This was disabled on Apple because we didn't want the library to be
setting signal handlers, as this was causing issues when loaded into
Xcode. However, I think it's useful to have this for the LLDB driver, so
I moved it up to use the PrettyStackTraceProgram in the driver's main.
Differential revision: https://reviews.llvm.org/D49377
llvm-svn: 337261
Diffstat (limited to 'lldb/source/Initialization')
| -rw-r--r-- | lldb/source/Initialization/SystemInitializerCommon.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lldb/source/Initialization/SystemInitializerCommon.cpp b/lldb/source/Initialization/SystemInitializerCommon.cpp index 7809fbe2fc8..006ab23595c 100644 --- a/lldb/source/Initialization/SystemInitializerCommon.cpp +++ b/lldb/source/Initialization/SystemInitializerCommon.cpp @@ -29,7 +29,6 @@ #include "lldb/Host/windows/windows.h" #endif -#include "llvm/Support/PrettyStackTrace.h" #include "llvm/Support/TargetSelect.h" #include <string> @@ -63,9 +62,6 @@ void SystemInitializerCommon::Initialize() { } #endif -#if not defined(__APPLE__) - llvm::EnablePrettyStackTrace(); -#endif Log::Initialize(); HostInfo::Initialize(); static Timer::Category func_cat(LLVM_PRETTY_FUNCTION); |

