Commit Graph

51 Commits

Author SHA1 Message Date
Dmitry Arkhipov
22982db3f6 fix setting custom b2 feature from CLI (#194) 2024-11-19 11:00:46 +03:00
René Ferdinand Rivera Morell
ad121dbed0 Add support for modular build structure. (#172)
This is part of the effort to make the Boost libraries "modular" for build and consumption. See https://lists.boost.org/Archives/boost/2024/01/255704.php and https://github.com/grafikrobot/boost-b2-modular/blob/b2-modular/README.adoc for more information.
2024-09-01 17:23:26 +03:00
Peter Dimov
2c83563695 Add a conditional rule for enabling boost_stacktrace_from_exception. Fixes #165. (#166) 2024-05-27 11:38:17 +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
95caaeaf99 Option to disable boost_stacktrace_from_exception library build 2024-02-17 10:26:49 +03:00
Antony Polukhin
87ef7f6950 Fix build (failure was noted in #147) (#151) 2024-02-15 09:19:27 +03:00
Antony Polukhin
0d8aed6bc9 Library for getting stacktraces from arbitrary exceptions (#147) 2024-02-07 11:27:45 +03:00
Antony Polukhin
1fd3665a71 Allow building stacktrace libraries with global visibility (fixes #146) 2024-01-20 11:03:31 +03:00
Antony Polukhin
0ec802df84 Update copyright years 2024-01-07 13:03:02 +03:00
Antony Polukhin
15b12e6e95 run tests on more compilers 2023-08-25 12:09:31 +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
4cf47389c1 Update copyright years 2023-01-19 10:21:22 +03:00
Antony Polukhin
12e3743e58 Simplify Jamfile a little-bit
Relates: https://github.com/boostorg/stacktrace/issues/119
2022-09-12 16:29:05 +03:00
Antony Polukhin
6db6fd0c01 Use BOOST_STACKTRACE_BACKTRACE_INCLUDE_FILE while detecting the libbacktrace availability in b2
Fixes: https://github.com/boostorg/stacktrace/issues/115
2022-09-12 15:46:46 +03:00
Antony Polukhin
ade7d54dc7 update copyright year 2020-01-18 14:11:02 +03:00
Antony Polukhin
d9d6512743 Update copyright years 2019-01-12 22:15:16 +03:00
Antony Polukhin
61c94e65e1 force the hidden visibility using new b2 feature 2018-09-22 22:05:30 +03:00
Antony Polukhin
819f2b1c86 bump copyright years 2018-08-07 22:41:22 +03:00
Antony Polukhin
4603c1725d Fix warning, noted by Daniela Engert 2018-02-20 23:02:00 +03:00
Peter Dimov
9523e26aad Only use boost-install once 2017-12-16 21:31:13 +02:00
Antony Polukhin
b5e2058ec5 Fixes for FreeBSD and other OSes that do not define _GNU_SOURCE but have _Unwind_Backtrace function 2017-08-29 20:27:18 +03:00
Antony Polukhin
b84d6533f5 Update build testing file (again) to deal with incorrect workaround for mingw 2017-08-08 01:29:06 +03:00
Antony Polukhin
cd420b37ae Update build testing file to deal with MinGW issue https://sourceforge.net/p/mingw-w64/bugs/527/ 2017-08-08 01:18:13 +03:00
Antony Polukhin
b931f501d1 Attempt to fix build issues on ICC+Windows (fixes #27) 2017-07-17 20:40:07 +03:00
Antony Polukhin
9c1ed7fc95 Fix build with 'link=static runtime-link=static' flags. Fixes #23 on github 2017-07-05 22:53:38 +03:00
Andrey Semashev
9b7059f518 Fix addr2line command line construction 2017-06-26 01:17:25 +03:00
Antony Polukhin
29aaf100a8 Revert "Enable usage of MSVC specific thread local storage attributes"
This reverts commit ca4464d23c.
2017-05-03 23:50:22 +03:00
Antony Polukhin
ca4464d23c Enable usage of MSVC specific thread local storage attributes 2017-05-03 23:47:12 +03:00
Antony Polukhin
235226bdcc Do neither test nor build cached windows implementation if thread_locacl is not supported 2017-05-03 23:40:27 +03:00
Antony Polukhin
fe5a0d9871 Started the separation of stack collecting and stack decoding headers 2017-04-20 20:06:09 +03:00
Antony Polukhin
fb29d75b3a Harden the security by not evaluating the PATH variable in addr2line implementation 2017-04-19 22:28:45 +03:00
Antony Polukhin
3678082434 Added new option for MSVC: boost_stacktrace_windbg_cached 2017-04-15 13:00:26 +03:00
Antony Polukhin
3f48887f2e Another attempt to remove MSVC specific extensions (4) 2017-03-04 05:13:40 +03:00
Antony Polukhin
cdf7ef74e7 Another attempt to remove MSVC specific extensions (3) 2017-03-04 04:17:51 +03:00
Antony Polukhin
affbfef4b6 Another attempt to remove MSVC specific extensions (2) 2017-03-04 03:56:15 +03:00
Antony Polukhin
abd8afb6ec Tuning frame_msvc in attempt to use less MSVC extensions 2017-03-03 04:52:08 +03:00
Antony Polukhin
4191419560 Fixing MinGW (3) 2017-02-25 23:24:48 +03:00
Antony Polukhin
675ab7d65d Fix addr2line detection 2017-02-06 23:11:58 +03:00
Antony Polukhin
c221f0c2dd Multiple minor fixes, improved docs, changed the example to use Boost.Exception 2017-01-13 22:36:25 +03:00
Antony Polukhin
bd616a7249 Make a basic usecase the default one, add tests and create a target library for that 2017-01-13 22:31:03 +03:00
Antony Polukhin
85c31f691d Macro for enabling/disabling addr2line usage 2017-01-08 12:05:45 +03:00
Antony Polukhin
b7bf4b5932 Use libbacktrace, added more tests 2017-01-08 00:00:17 +03:00
Antony Polukhin
fd513391ca Async signal safe backend implmented and notes about async-safety were added to the docs. 2016-11-30 10:47:58 +03:00
Antony Polukhin
b35614a7a5 Removed libunwind backend and forced all the backends to return source info from void pointer 2016-11-25 21:50:43 +03:00
Antony Polukhin
468f7fc381 Implemented get_source_line() and get_source_file() for Windows backend. Fixed debug engine detection during build 2016-11-17 22:17:18 +03:00
Antony Polukhin
326d931bb0 Now header-only by default, fixes for tests and builds, better backend auto-detection 2016-09-13 00:13:02 +03:00
Antony Polukhin
6522b60c72 Added noop backend. Do not skip frames in backends anymore, because it is impossible to guess the inlining heuristics on different compilers. Fixed tests, added more tests, simplified code, improved docs 2016-09-08 21:42:43 +03:00
Antony Polukhin
e798527df8 Fixed libunwind exception safety in assignments and construction, changed tests to use boost's lightweight test infrastructure, code cleanup, include guards added 2016-09-08 21:23:43 +03:00
Antony Polukhin
2d6c03e7dc Fixed libunwind backend, added docs, fixed tests and compilation, changed return type of stacktrace::operator[] 2016-09-08 08:18:18 +03:00
Antony Polukhin
13d8ee423c Fix Win linkage and fix link in README 2016-06-05 13:06:12 +03:00