Commit Graph

115 Commits

Author SHA1 Message Date
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
Antony Polukhin
b7bf4b5932 Use libbacktrace, added more tests 2017-01-08 00:00:17 +03:00
Antony Polukhin
c45c8ff0e4 Optimized printing stacktraces on Win 2017-01-03 14:11:30 +03:00
Antony Polukhin
053b9f5606 Typo fix for Win 2017-01-03 13:41:26 +03:00
Antony Polukhin
6de0fe088b Micro optimizations and bugfixes for Win 2017-01-03 13:27:15 +03:00
Antony Polukhin
d6c1350952 Improve backtrace formatting and output more information into the backtrace when source file info is unawailable 2017-01-03 12:58:28 +03:00
Antony Polukhin
36061d4ef8 Move code around, prepare for optimizing the stack ostreaming operators 2017-01-03 11:59:55 +03:00
Antony Polukhin
7149a04002 Optimize frame printing 2017-01-03 00:06:20 +03:00
Antony Polukhin
5a9ba3342d Set lines count to zero on second failed attempt to get line number 2017-01-02 22:47:35 +03:00
Antony Polukhin
8f06ce9b3d Preparations for optimized streaming of frames and stacktraces 2017-01-02 21:15:25 +03:00
Antony Polukhin
60ac93f79f Fix [move]assignemnt operators 2016-12-26 22:20:08 +03:00
Antony Polukhin
16ef077fa4 Fix unsigned overflow in basic_stacktrace constructor, improve some tests, make sure that skipping 2 frames does not show internals to the user 2016-12-26 22:18:27 +03:00
Antony Polukhin
2893578446 detail::backend class does not own data any more 2016-12-26 22:15:53 +03:00
Antony Polukhin
99e4b53742 Started reimplementing stacktrace with Allocator 2016-12-26 22:12:29 +03:00