Commit Graph

128 Commits

Author SHA1 Message Date
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
Antony Polukhin
22261768ec Fix segfaults with libbacktrace while getting stack trace without debug info. Speedup and reduce memory usage while using libbacktrace 2017-04-14 21:46:24 +03:00
Antony Polukhin
d1380eba28 Apply Cygwin fixes from Peter Dimov 2017-03-18 16:50:38 +03:00
Antony Polukhin
fb9de2bb6b Drop windows.h inclusion in safe_dump_win.ipp 2017-03-18 13:13:43 +03:00
Antony Polukhin
46b0542350 Replaced the hand written try_demangle function with core::demangle 2017-03-18 12:38:42 +03:00
Antony Polukhin
6b3d993df1 Remove the unportable +2 skips because MSVC could ignore BOOST_NOINCLUDE depending on linktime optimization flags 2017-03-18 12:27:11 +03:00
Antony Polukhin
9c1c343dad Fixed the accidental trigraphs/digraphs in frame_msvc.ipp 2017-03-18 12:22:52 +03:00
Antony Polukhin
b6fad0f575 Make sure that frames with 0x0 addresses are not stored 2017-03-16 23:10:09 +03:00
Antony Polukhin
5552c97150 MinGW fixes. Docs updated to satisfy the prereview requests 2017-03-16 22:46:21 +03:00
Antony Polukhin
3f48887f2e Another attempt to remove MSVC specific extensions (4) 2017-03-04 05:13:40 +03:00
Antony Polukhin
affbfef4b6 Another attempt to remove MSVC specific extensions (2) 2017-03-04 03:56:15 +03:00
Antony Polukhin
e420e0a071 Another attempt to remove MSVC specific extensions 2017-03-04 03:21:31 +03:00
Antony Polukhin
34ff2dfc04 Experimenting with MinGW and stacktracing on Windows 2017-03-03 08:36:51 +03:00
Antony Polukhin
7f45997fb2 Restore __uuidof crappy extension usage for crappy COM technology 2017-03-03 05:40:29 +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
7b6a8e84f7 MinGW fixes (2). Do not include unused headers 2017-02-25 23:09:36 +03:00
Antony Polukhin
94f73fe616 MinGW fixes 2017-02-24 09:07:11 +03:00
Antony Polukhin
ca6fc8b312 Typo fix for MinGW 2017-02-24 08:31:17 +03:00
Antony Polukhin
d92c405ec1 Another attempt to fix MinGW builds 2017-02-24 08:19:50 +03:00
Antony Polukhin
6a146fe7e3 Fix MinGW compilation 2017-02-20 23:13:47 +03:00
Antony Polukhin
00a13698e0 Attempt to fix MSVC tests 2017-02-07 23:26:14 +03:00
Antony Polukhin
116dd872b8 Allow users to easily skip frames (API change), add more tests and update docs 2017-02-07 22:58:22 +03:00
Antony Polukhin
eb9fcf8050 Removed internals from stacktraces, added more tests on safe dumping 2017-02-07 22:55:19 +03:00
Antony Polukhin
a246a5c148 Minor addition to the docs 2017-02-06 23:33:03 +03:00
Antony Polukhin
441d38af76 Drop version info in dump 2017-02-06 22:55:27 +03:00
Antony Polukhin
9c08e254f1 Fix MinGW compilation 2017-02-04 22:52:28 +03:00
Antony Polukhin
b842cb2284 Quickfix 2017-02-04 22:34:51 +03:00
Antony Polukhin
8050e4ea8e Better from_dump implementation (2) 2017-02-04 22:05:41 +03:00
Antony Polukhin
ab6e88f1d0 Better from_dump implementation 2017-02-04 21:40:35 +03:00
Antony Polukhin
270786eb1e Added dump format version 2017-02-04 21:22:28 +03:00
Antony Polukhin
ca0a912125 Fix issue with reading from stream 2017-02-04 02:59:31 +03:00
Antony Polukhin
a462364409 Use more functions from boost::detail::winapi rather than from global namespace 2017-01-28 12:51:48 +03:00
Antony Polukhin
224750cbef Added more examples on safe_dump_to (shared memory example) and changed interface of safe dumping into the memory 2017-01-27 21:56:27 +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
d26dc67be6 Implemented safe dumping and loading 2017-01-26 22:21:24 +03:00
Antony Polukhin
e4c3542c96 Even more fixes 2017-01-19 23:02:08 +03:00
Antony Polukhin
fc0063de37 More fixes for the async-safe stack dumping 2017-01-19 22:41:45 +03:00
Antony Polukhin
bc5b4fad18 MSVC fixes 2017-01-19 22:15:22 +03:00
Antony Polukhin
13fe06063b Added initial version of safe dumping 2017-01-19 21:59:37 +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
1c5274f9fa Big refactoring: no more backends, only macro to enable additional functionality 2017-01-13 22:33:37 +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
3ec1c49c3b Separate code for addr2line, libbacktrace and basic 2017-01-13 22:28:53 +03:00
Antony Polukhin
c5843350f0 Move code around 2017-01-08 21:33:23 +03:00
Antony Polukhin
7a40dc90ae Qualify all the calls, do not mix std:: and :: function usage, detail::pc_data refactored to avoid copying 2017-01-08 20:50:53 +03:00
Antony Polukhin
85c31f691d Macro for enabling/disabling addr2line usage 2017-01-08 12:05:45 +03:00
Antony Polukhin
f37eea04fa Optimize ostream operator with libbackend 2017-01-08 00:14:05 +03:00