Clément Chigot
aacfc2e557
Add dladdr minimal support for AIX
...
AIX doesn't provide dladdr syscall. This patch implements a minimal
version in order to be able to compile stacktrace.
2024-06-12 18:13:01 +03:00
Antony Polukhin
80af3a44c3
Fix shadowing ( fixes #141 )
2024-06-11 12:19:03 +03:00
Marat Abrarov
39afcefb64
Avoid inclusion of rarely used Windows SDK headers which can cause conflict with other code using Windows SDK. ( #157 )
...
Signed-off-by: Marat Abrarov <abrarov@gmail.com >
2024-04-16 11:47:28 +03:00
huangqinjin
d1b7a61353
Implement stacktrace from current exception for MSVC ( #159 )
...
std::current_exception() makes a copy of current exception object
into returned std::exception_ptr. So the tracking of the original
exception object and its stacktrace are lost.
2024-04-16 11:39:07 +03:00
Antony Polukhin
824f0c0ea7
Clarify the async-signal-safety guarantees in docs (refs #131 ) ( #154 )
2024-02-29 20:47:13 +03:00
Antony Polukhin
f783534b0f
Fix frame_msvc.ipp compilation
2024-02-23 14:04:26 +03:00
Antony Polukhin
27093f24cb
Update frame_msvc.ipp
2024-02-23 13:50:11 +03:00
Antony Polukhin
f6d4e117cd
Add missing include
2024-02-12 22:21:35 +03:00
Antony Polukhin
0d8aed6bc9
Library for getting stacktraces from arbitrary exceptions ( #147 )
2024-02-07 11:27:45 +03:00
Antony Polukhin
0ec802df84
Update copyright years
2024-01-07 13:03:02 +03:00
Francesco Ballarin
8b1699c9d3
Add missing cstdint include to detail/addr_base.hpp
2023-10-01 10:14:34 +02:00
yhsb2k
dc5cd9d1f3
Fix build with MinGW-w64 12+. ( #140 )
...
For more details see: https://github.com/boostorg/stacktrace/issues/133
Accommodate mingw-llvm to this fix as well
macros defined by mingw-llvm 16 (https://github.com/mstorsjo/llvm-mingw ):
#define __GNUC_MINOR__ 2
#define __GNUC_PATCHLEVEL__ 1
#define __GNUC__ 4
#define __clang_major__ 16
#define __clang_minor__ 0
#define __clang_patchlevel__ 0
2023-09-02 16:36:27 +03:00
ja2142
fbcd543b51
fix addr2line for pie binaries ( #138 )
2023-08-27 21:34:56 +03:00
Antony Polukhin
6a7510bd5e
Do not produce and explicit hard error if compiler may not support some of the C++11 features
2023-08-27 15:26:56 +03:00
Alex
abba18524f
Modernize to cpp11 ( #139 )
...
Drop support for C++03
Boost.Stacktrace 1.84 now requires C++11.
2023-08-11 21:32:41 +03:00
Antony Polukhin
71da3cfd56
add C++03 deprecation warnings
2023-05-14 20:06:38 +03:00
Chocobo1
b9a0a12f1c
Fix typo
2023-02-08 17:45:10 +08:00
Antony Polukhin
4cf47389c1
Update copyright years
2023-01-19 10:21:22 +03:00
Antony Polukhin
d904d26f4f
Fix multithreading flag detection for backtrace_create_state if BOOST_STACKTRACE_BACKTRACE_FORCE_STATIC is defined
2023-01-18 17:16:51 +03:00
Antony Polukhin
308b7f6b08
allow forcing the static backtrace_state
...
References: https://github.com/boostorg/stacktrace/issues/118
2022-09-02 12:20:30 +03:00
Antony Polukhin
b856a99f9f
fix and make sure that boost/stacktrace/stacktrace.hpp header has no unresolved references
...
Fixes: https://github.com/boostorg/stacktrace/issues/116
2022-09-02 10:38:17 +03:00
Antony Polukhin
cc4d16e2ad
avoid strlen() calls by using the size-1 from GetNameByOffset
...
Refs: https://github.com/boostorg/stacktrace/issues/122
2022-09-01 19:02:46 +03:00
Alex Guteniev
9e8510076d
BOOST_STACKTRACE_USE_WINDBG_CACHED support
2022-02-18 20:08:31 +02:00
Alex Guteniev
a60ee55b36
Don't initialize COM
...
Resolve #121
2022-02-18 19:45:26 +02:00
Antony Polukhin
75b7986f97
update copyright years
2022-01-30 14:47:24 +03:00
Antony Polukhin
a00587f4d7
update copyright years
2021-01-03 19:24:15 +03:00
Antony Polukhin
15f6b30f12
Better support for pre-C++11 builds on clang ( fixes #102 )
2020-12-19 14:35:28 +03:00
Jeremiah Rodriguez
a8a4cefb52
Add support for disabled exceptions
2020-05-26 13:28:32 -07:00
Antony Polukhin
ade7d54dc7
update copyright year
2020-01-18 14:11:02 +03:00
Antony Polukhin
acf5b12d02
Replace tabs with spaces
2019-11-12 10:16:57 +03:00
Antony Polukhin
293e1f43f6
Typo fix
2019-07-26 19:01:10 +03:00
Antony Polukhin
7379a5cc08
Fix msvc-9 build
2019-07-26 17:12:52 +03:00
Antony Polukhin
36734b1531
Trim null characters on Windows ( fixes #78 )
2019-06-29 10:44:27 +03:00
Antony Polukhin
6e79da7420
Fix frame info output with TSAN
2019-06-28 11:12:35 +03:00
Antony Polukhin
71acd94944
Fix empty frame info output with TSAN
2019-06-28 10:41:44 +03:00
Antony Polukhin
1ad62e582a
Add comment about async signal safety for PR #70
2019-01-12 22:37:31 +03:00
Antony Polukhin
5c6740b680
Merge branch 'develop' of github.com:boostorg/stacktrace into develop
2019-01-12 22:15:24 +03:00
Antony Polukhin
d9d6512743
Update copyright years
2019-01-12 22:15:16 +03:00
Antony Polukhin
839a1a127d
Update collect_unwind.ipp
2019-01-11 13:27:43 +03:00
Ivan Ponomarev
411d92cbf3
Forced backtrace() function usage on iOS, 32-bit ARM architecture. Used macros from Boost predef.
2019-01-09 23:07:37 +03:00
Ivan Ponomarev
1b7956a40d
Added an ability to use libc backtrace() function (from execinfo.h) instead of _Unwind_Backtrace on Unix-like systems. Useful on iOS 32-bit ARM where _Unwind_Backtrace symbol is undefined.
2019-01-09 01:04:47 +03:00
Antony Polukhin
d708d17ecd
Suppress warning ( fixes #69 )
2019-01-05 13:48:53 +03:00
Jan Eisenhauer
cbd625bd91
fixup! Postprocessing to limit the trace to max_depth is no longer necessary.
2018-10-29 15:12:34 +01:00
Jan Eisenhauer
b08dab1c44
Postprocessing to limit the trace to max_depth is no longer necessary.
2018-10-29 14:34:16 +01:00
Jan Eisenhauer
77405d8d7f
Collect at most as many frames as requested.
2018-10-29 14:30:59 +01:00
Jan Eisenhauer
324a24abba
Evade the min macro from Windows headers.
2018-10-29 14:06:42 +01:00
Jan Eisenhauer
5e85e7414a
Collect at most as many frames as requested.
2018-10-29 13:27:36 +01:00
Antony Polukhin
4123beb4af
fix memory consumption when using libbacktrace and speedup trace decoding
2018-10-07 20:08:27 +03:00
Antony Polukhin
f328647e45
More docs improvemnts for the #62
2018-09-13 18:23:37 +03:00
Antony Polukhin
6d101ba4d6
Improve docs for #62
2018-09-13 18:19:56 +03:00