Commit Graph

205 Commits

Author SHA1 Message Date
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
Antony Polukhin
c63afe54a2
Fix #61 2018-08-29 12:37:40 +03:00
Dries Deschout
7a595a164f Fix style 2018-08-20 09:03:12 +02:00
Dries Deschout
b4b84780b1 Libbacktrace fallback to sym info in name_impl 2018-08-20 09:02:29 +02:00
Dries Deschout
1289134b6d Libbacktrace fallback to sym info when debug info is missing or incomplete 2018-08-13 14:58:21 +02:00
Antony Polukhin
819f2b1c86 bump copyright years 2018-08-07 22:41:22 +03:00
Antony Polukhin
fb47f17836 Allow to specify exact location of the backtrace.h header. Fixes #59 2018-08-07 22:29:00 +03:00
Antony Polukhin
b8dec8b126 Added to_string function for the boost::stacktrace::basic_stacktrace classes. Fixes #57 2018-07-28 17:12:03 +03:00
Antony Polukhin
4a5471a239 const_cast address to void* to avoid compile issues on platforms that have dladdr(void*, Dl_info*). Issue #54 2018-05-23 22:27:46 +03:00
Antony Polukhin
87b4789289 Drop dependency on lexical_cast and add more tests 2018-03-14 22:33:04 +03:00
Antony Polukhin
4603c1725d Fix warning, noted by Daniela Engert 2018-02-20 23:02:00 +03:00
Antony Polukhin
a0f948e9f5 Fix a typo. Fixes #42 2018-02-20 22:55:35 +03:00
Antony Polukhin
7f20c8c676 Disable async unsafe code 2018-01-29 23:22:31 +03:00
Antony Polukhin
31a630ced5 Use boost/container_hash/hash_fwd.hpp instead of manually forward declaring the hash_range function 2018-01-14 23:28:22 +03:00
Antony Polukhin
caaea11dfa
Merge branch 'develop' into update_winapi 2018-01-11 22:00:14 +03:00
Daniela Engert
168d9a7544
Most members of std::allocate are deprecated in C++17
Replace them by their cousins from std::allocator_traits.

Signed-off-by: Daniela Engert <dani@ngrt.de>
2017-12-27 18:56:33 +01:00
Benjamin Buch
8f0735d9bd
Include winapi only on windows 2017-11-20 10:44:06 +01:00
Antony Polukhin
8558ac9112 Added missing include. Fixes #32 2017-10-26 22:14:45 +03:00
Andrey Semashev
eba6db7bde Updated Boost.WinAPI usage to the new location and namespace. 2017-10-24 23:51:14 +03:00
Antony Polukhin
87a1285540 Some workarounds for MinGW+libbacktrace (refs #14) 2017-10-24 23:05:28 +03:00
Antony Polukhin
fd3b8c2784 Separate MinGW from MinGW-w64. This fixes some MinGW-w64 issues and simplifies fixage of #14 2017-10-13 21:36:16 +03:00
Antony Polukhin
8364ad1f5e Do not check for _GNU_SOURCE on Windows 2017-08-29 21:34:25 +03: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
af78623e8a Fix installations by renaming the preprocessor files (now uses extension .h instead of .pp). Issue #29 2017-08-27 00:11:43 +03:00
Antony Polukhin
0c09c5d307 Additional check on buffer size for memory dumps 2017-07-18 23:14:40 +03:00
Antony Polukhin
a9d92be86a Slightly improve the docs and make more debug data available in test 2017-07-17 22:44:56 +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
f853dbfc69 Fix ARM+Suse compilation 2017-07-15 17:35:31 +03:00
Antony Polukhin
4eaaaeec3a Use the Boost.WinAPI library and do not write stacktrace files into the folders of other libraries. Fixes #20 2017-06-24 20:42:29 +03:00
Antony Polukhin
f5318e3591 Updated and improved the documentation, fixed possible alignment issue in the terminate_handler example 2017-05-26 21:08:59 +03:00
Antony Polukhin
8d11eeb3ad Fix WinAPI missuse noted in #18 by pete-johnson 2017-05-16 10:28:56 +03:00
Antony Polukhin
bd52cde3b6 Workarounds for Android and some other OSes that are pre 2003 POSIX 2017-05-08 13:02:44 +03:00
Antony Polukhin
2381fa2011 Suppress Intel compiler warnings about noinline+inline on the same function 2017-05-06 15:07:21 +03:00