PStack  2.0
Stack trace printer for MSVC and GCC binaries
addr2ln_ns.hpp
Go to the documentation of this file.
1 // ===-- include/addr2ln/addr2ln_ns.hpp ------------------- -*- C++ -*- --=== //
2 // Copyright (c) 2015 Matt Bisson. All rights reserved.
3 
33 #pragma once
34 #ifndef ADDR2LN_ADDR2LN_NS_HPP
35 #define ADDR2LN_ADDR2LN_NS_HPP
36 
37 #include "psystem/psystem_ns.hpp"
38 
42 
44 #define ADDR2LN_APP_NAME "Addr2ln (Address-to-source-line Printer)"
45 
47 #ifndef ADDR2LN_MAJOR_VERSION
48 # define ADDR2LN_MAJOR_VERSION 0
49 #endif
50 
53 #ifndef ADDR2LN_MINOR_VERSION
54 # define ADDR2LN_MINOR_VERSION 1
55 #endif
56 
58 #ifndef ADDR2LN_PATCH_LEVEL
59 # define ADDR2LN_PATCH_LEVEL 0
60 #endif
61 
65 #ifndef ADDR2LN_BUILD_NUMBER
66 # define ADDR2LN_BUILD_NUMBER 0
67 #endif
68 
70 #if (ADDR2LN_BUILD_NUMBER == 0)
71 # define _PRIVATE_BUILD 1
72 #endif
73 
75 
76 // We will inlcude this from all sources -- including the resource-file
77 // compiler -- so let's make sure it compiles.
78 #ifndef RC_INVOKED
79 
89 namespace addr2ln
90 {
91 
92 } // namespace addr2ln
93 
94 #endif // RC_INVOKED
95 
96 #endif // ADDR2LN_ADDR2LN_NS_HPP
Contains functionality required to map addresses to source code information.
Definition: addr2ln_ns.hpp:89
The basic header file for the PSystem namespce.