d-SEAMS v1.0.0
src
backward.cpp
Go to the documentation of this file.
1
//-----------------------------------------------------------------------------------
2
// d-SEAMS - Deferred Structural Elucidation Analysis for Molecular Simulations
3
//
4
// Copyright (c) 2018--present d-SEAMS core team
5
//
6
// This program is free software: you can redistribute it and/or modify
7
// it under the terms of the MIT License as published by
8
// the Open Source Initiative.
9
//
10
// A copy of the MIT License is included in the LICENSE file of this repository.
11
// You should have received a copy of the MIT License along with this program.
12
// If not, see <https://opensource.org/licenses/MIT>.
13
//-----------------------------------------------------------------------------------
14
15
// Pick your poison.
16
//
17
// On GNU/Linux, you have few choices to get the most out of your stack trace.
18
//
19
// By default you get:
20
// - object filename
21
// - function name
22
//
23
// In order to add:
24
// - source filename
25
// - line and column numbers
26
// - source code snippet (assuming the file is accessible)
27
28
// Install one of the following library then uncomment one of the macro (or
29
// better, add the detection of the lib and the macro definition in your build
30
// system)
31
32
// - apt-get install libdw-dev ...
33
// - g++/clang++ -ldw ...
34
// #define BACKWARD_HAS_DW 1
35
36
// - apt-get install binutils-dev ...
37
// - g++/clang++ -lbfd ...
38
// #define BACKWARD_HAS_BFD 1
39
40
#include "backward.hpp"
41
42
namespace
backward
{
43
44
backward::SignalHandling
sh
;
45
46
}
// namespace backward
backward
Definition:
backward.cpp:42
backward::sh
backward::SignalHandling sh
Definition:
backward.cpp:44