Added backward-cpp stack printer (90398eef20f4e7e0e939322d7e84f9c52078a325)
This commit is contained in:
10
src/main.cc
10
src/main.cc
@@ -24,6 +24,10 @@
|
||||
#include "util/util.h"
|
||||
#include "version.h"
|
||||
|
||||
#ifndef NDEBUG
|
||||
#include <backward-cpp/backward.hpp>
|
||||
#endif
|
||||
|
||||
#include <clang/Basic/Version.h>
|
||||
#include <clang/Config/config.h>
|
||||
#include <cli11/CLI11.hpp>
|
||||
@@ -36,6 +40,12 @@
|
||||
#include <string.h>
|
||||
#include <util/thread_pool_executor.h>
|
||||
|
||||
#ifndef NDEBUG
|
||||
namespace backward {
|
||||
backward::SignalHandling sh;
|
||||
} // namespace backward
|
||||
#endif
|
||||
|
||||
using namespace clanguml;
|
||||
using config::config;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user