38 Commits

Author SHA1 Message Date
Fedor Osetrov f966b6a1e6 feat boost.stacktrace: C++20 modules support (#230)
- Introduce `boost.stacktrace_dump` module for safe_dump interface
- Introduce `boost.stacktrace_<backend>` module for each unwind/collect implementation method
- Introduce `boost.stacktrace` module exposing best available backend implementation

Also many tests was added for checking all available backend build and also header only library version
Moreover, there are some checks for `Boost::stacktrace_<backend>` and  `Boost::stacktrace_from_exception` compatibility

---------

Co-authored-by: Fedor Osetrov <fdr400@Fedors-MacBook-Pro.local>
2026-05-05 20:29:10 +03:00
Antony Polukhin 902537345a Update copyright years 2026-01-04 11:21:08 +03:00
Antony Polukhin 9e7a98a61a Update copyright years 2025-01-08 19:54:11 +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
Antony Polukhin 4cf47389c1 Update copyright years 2023-01-19 10:21:22 +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 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 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 819f2b1c86 bump copyright years 2018-08-07 22:41:22 +03:00
Antony Polukhin ea6e7fabe9 Improve docs and move safe dumping into a separate header file 2017-01-26 22:22:40 +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 aff892356f Changed classname from frame_view to frame 2016-11-25 21:59:30 +03:00
Antony Polukhin 32be7aefe0 Clenups and split stacktrace.hpp into files 2016-11-23 00:02:16 +03:00
Antony Polukhin 136680bd71 Fixed hash copying in assignemt operator 2016-11-22 23:47:38 +03:00
Antony Polukhin 16214550fe Big refactoring to allow in the future to setup stacktrace depth 2016-11-22 22:02:03 +03:00
Antony Polukhin 4c30f8e9cb frame_view and iterator are not nested classes any more, reordered some functions to make reference documentation look better 2016-10-26 22:25:16 +03:00
Antony Polukhin 8768a721b1 Doxyden output improved, improved docs and added more examples 2016-10-26 22:23:09 +03:00
Antony Polukhin 8fa8c93fdb Added operators for frame_view class, libunwind backend now stores addresses 2016-10-26 22:21:46 +03:00
Antony Polukhin 6c1fd6cba1 Improved docs, added more tests, made a frame_view class from class frame 2016-10-26 22:20:10 +03:00
Antony Polukhin e16e1a4a60 Do not use operator[] to avoid dangling references 2016-10-25 21:53:48 +03:00
Antony Polukhin b8dcd2b553 Working version of iterator and frame 2016-10-25 21:52:29 +03:00
Antony Polukhin bd59ec8bef Strted implmenting the iterators and frame class 2016-10-25 21:51:27 +03:00
Antony Polukhin ab6cb7483e Added support for hashing 2016-10-12 20:26:09 +03:00
Antony Polukhin 40d1fcba36 Improved reference documentation (now explicit operator bool is documented) 2016-10-12 20:25:05 +03:00
Antony Polukhin 2440061676 Output more information in stacktraces (instruction offsets and function addressees) when apropriate 2016-10-12 20:23:54 +03:00
Antony Polukhin b75dfd361c Added comparison operators and tests for them 2016-10-12 20:22:24 +03:00
Antony Polukhin e1c1a4910b Minor improvements and refactoring 2016-10-11 23:22:38 +03:00
Antony Polukhin 0963de1ff7 More examples, added content to 'getting started' section in docs, improved some tests 2016-09-14 22:01:49 +03:00
Antony Polukhin 76cfb88fc0 Fixes for linkage and tests 2016-09-14 21:58:15 +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 b1f41947d6 Fixed shared libraries build, removed unused file 2016-09-08 21:48:33 +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 b8d1ff2730 Initial version of stacktrace library 2016-06-04 15:51:28 +03:00