File tree 3 files changed +18
-4
lines changed
3 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 20
20
#include < boost/stacktrace/detail/frame_decl.hpp>
21
21
#include < boost/stacktrace/detail/push_options.h>
22
22
23
+ #if defined(BOOST_MSVC) && (defined(BOOST_STACKTRACE_INTERNAL_BUILD_LIBS) || !defined(BOOST_STACKTRACE_LINK))
24
+ extern " C" {
25
+
26
+ #if defined(BOOST_STACKTRACE_DYN_LINK)
27
+ BOOST_SYMBOL_EXPORT
28
+ #elif defined(BOOST_STACKTRACE_LINK)
29
+ #else
30
+ BOOST_SYMBOL_EXPORT inline
31
+ #endif
32
+ void * boost_stacktrace_impl_return_nullptr () { return nullptr ; }
33
+
34
+ }
35
+ #endif
36
+
23
37
namespace boost { namespace stacktrace {
24
38
25
39
// / Comparison operators that provide platform dependant ordering and have O(1) complexity; are Async-Handler-Safe.
Original file line number Diff line number Diff line change 37
37
38
38
extern " C" {
39
39
40
- // #if defined(BOOST_STACKTRACE_LINK) && defined(BOOST_STACKTRACE_DYN_LINK)
41
- BOOST_SYMBOL_EXPORT
42
- // #endif
43
- inline void * boost_stacktrace_impl_return_nullptr () { return nullptr ; }
44
40
const char * boost_stacktrace_impl_current_exception_stacktrace ();
45
41
bool * boost_stacktrace_impl_ref_capture_stacktraces_at_throw ();
46
42
Original file line number Diff line number Diff line change @@ -188,6 +188,8 @@ test-suite stacktrace_tests
188
188
[ run test_void_ptr_cast.cpp ]
189
189
[ run test_num_conv.cpp ]
190
190
191
+ [ run test_from_exception_none.cpp : : : $(LINKSHARED_NOOP) <debug-symbols>on : from_exception_none_noop ]
192
+ [ run test_from_exception_none.cpp : : : <define>BOOST_STACKTRACE_USE_NOOP $(NOOP_DEPS) <debug-symbols>on : from_exception_none_noop_ho ]
191
193
[ run test_from_exception_none.cpp : : : $(LINKSHARED_BASIC) <debug-symbols>on : from_exception_none_basic ]
192
194
[ run test_from_exception_none.cpp : : : $(FORCE_SYMBOL_EXPORT) $(BASIC_DEPS) <debug-symbols>on : from_exception_none_basic_ho ]
193
195
[ run test_from_exception_none.cpp : : : $(LINKSHARED_BT) <debug-symbols>on : from_exception_none_bt ]
@@ -197,6 +199,8 @@ test-suite stacktrace_tests
197
199
[ run test_from_exception_none.cpp : : : $(LINKSHARED_WIND_CACHED) <debug-symbols>on : from_exception_none_windbg_cached ]
198
200
[ run test_from_exception_none.cpp : : : <define>BOOST_STACKTRACE_USE_WINDBG_CACHED $(WICA_DEPS) <debug-symbols>on : from_exception_none_windbg_cached_ho ]
199
201
202
+ [ run test_from_exception_none.cpp : : : <library>/boost/stacktrace//boost_stacktrace_from_exception $(LINKSHARED_NOOP) <debug-symbols>on : from_exception_disabled_none ]
203
+ [ run test_from_exception_none.cpp : : : <library>/boost/stacktrace//boost_stacktrace_from_exception <define>BOOST_STACKTRACE_USE_NOOP $(NOOP_DEPS) : from_exception_disabled_none_ho ]
200
204
[ run test_from_exception_none.cpp : : : <library>/boost/stacktrace//boost_stacktrace_from_exception $(LINKSHARED_BASIC) <debug-symbols>on : from_exception_disabled_basic ]
201
205
[ run test_from_exception_none.cpp : : : <library>/boost/stacktrace//boost_stacktrace_from_exception $(FORCE_SYMBOL_EXPORT) $(BASIC_DEPS) <debug-symbols>on : from_exception_disabled_basic_ho ]
202
206
[ run test_from_exception_none.cpp : : : <library>/boost/stacktrace//boost_stacktrace_from_exception $(LINKSHARED_BT) <debug-symbols>on : from_exception_disabled_bt ]
You can’t perform that action at this time.
0 commit comments