Commit Graph

174 Commits

Author SHA1 Message Date
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
Antony Polukhin
77492bc517 Added constructor to frame that accepts function addresses 2017-05-06 10:17:38 +03:00
Antony Polukhin
576a5355e3 Include <type_traits> if possible and use a more portable noexcept checking logic for move assignment 2017-05-04 09:18:57 +03:00
Antony Polukhin
25efff8c87 Added an error message on attempt to use the thread local chached windbg on a compilers without the thread_local support 2017-05-03 23:55:33 +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
c8d526493d Workarounds for this usage in constexpr functions in GCC 2017-05-01 22:30:09 +03:00
Antony Polukhin
cff7191e46 Fix MinGW warnings about extra ';' 2017-05-01 00:56:05 +03:00
Antony Polukhin
63b4f96ba4 Fix compilation on pre-C++11 standard libraries 2017-04-29 21:43:03 +03:00
Antony Polukhin
39247fbb32 Fixed MSVC related compilation issues 2017-04-29 19:23:39 +03:00
Antony Polukhin
a014c78b74 Fix MSVC 'conditional expression is constant' warning 2017-04-29 01:10:02 +03:00
Antony Polukhin
3d25e45a0d Fix MSVC warnings and add some doxygen workarounds for prettier reference section of the docs 2017-04-29 01:00:00 +03:00
Antony Polukhin
55063fd438 Add id to .qbk (refs #17) 2017-04-27 22:35:14 +03:00
Antony Polukhin
68c4f8be6a Added void_ptr_cast and tests for it 2017-04-21 21:57:31 +03:00
Antony Polukhin
141bc0a1d6 Attempt to fix link errors on MSVC 2017-04-20 21:26:09 +03:00
Antony Polukhin
984b702a11 Fix MSVC compilation 2017-04-20 20:49:58 +03:00
Antony Polukhin
61d11f8d48 Separated the stack collecting from decoding headers, dropped windows.h dependency for capturing stack, added tests on minimal files inclusion for stack capturing headers 2017-04-20 20:09:49 +03:00
Antony Polukhin
2e29ee7648 Separation of stack collecting and stack decoding headers, part 3 2017-04-20 20:07:41 +03:00
Antony Polukhin
f2f66b0d2a Separation of stack collecting and stack decoding headers, part 2 2017-04-20 20:07:05 +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
960f9d0f38 Use native_frame_ptr_t instead of void* and const void* 2017-04-20 20:04:27 +03:00
Antony Polukhin
21c2484f75 Added some constexprs to boost::stacktrace::frame 2017-04-20 20:02:55 +03:00
Antony Polukhin
e0fb46b62c Drop dependency to Boost.Container 2017-04-20 20:02:32 +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
96deb9688a Fixed incorrect usage of S_IFREG reported in #15 2017-04-19 22:27:38 +03:00
Antony Polukhin
885f45e64f More aggressive thread safety testing, fix for the libbacktrace usage in shared library, TravisCI tweaks 2017-04-15 21:28:11 +03:00
Antony Polukhin
9fc256bee4 Fixes for cached msvc compilation 2017-04-15 14:56:21 +03:00
Antony Polukhin
ce661c9c7b Typo fix in chaced msvc 2017-04-15 13:20:00 +03:00
Antony Polukhin
b784ccdebd One more MSVC fix related to module only name apearing without function name 2017-04-14 23:20:33 +03:00
Antony Polukhin
287090e284 Fix function name extraction using MSVC and mark MSVC tests without debug info as tests that do not producs stacktraces 2017-04-14 22:59:13 +03:00
Antony Polukhin
fea1024491 Typo fix in MSVC related code 2017-04-14 22:26:36 +03:00
Antony Polukhin
3b0e6a57a3 MSVC refactoring. MinGW fixes from @ustrobot (issue #14) 2017-04-14 21:49:19 +03:00