Commit Graph

88 Commits

Author SHA1 Message Date
Antony Polukhin
4ce841ef65 Code deduplicated and simplified, added empty() functions and some explicit bool operators, speed-up and improved the output of the ostream operators, improved tests coverage 2016-12-01 09:55:17 +03:00
Antony Polukhin
fd513391ca Async signal safe backend implmented and notes about async-safety were added to the docs. 2016-11-30 10:47:58 +03:00
Antony Polukhin
7cbe206b45 Update Jamfile for docs 2016-11-26 23:25:49 +03:00
Antony Polukhin
d4f8f64929 Fixed windows build and issue with returning incorrect frame address (now 0 retuned instead of running out of bounds) 2016-11-25 22:12:57 +03:00
Antony Polukhin
aff892356f Changed classname from frame_view to frame 2016-11-25 21:59:30 +03:00
Antony Polukhin
6f8cbefbf2 Cleanup to_hex_array.hpp 2016-11-25 21:57:26 +03:00
Antony Polukhin
c571f9a7d8 frame_view now has a public constructor from void pointer 2016-11-25 21:56:13 +03:00
Antony Polukhin
b35614a7a5 Removed libunwind backend and forced all the backends to return source info from void pointer 2016-11-25 21:50:43 +03:00
Antony Polukhin
58f49c9208 Get rid of reinterpret_cast 2016-11-24 21:41:00 +03:00
Antony Polukhin
589cb811e6 Get rid of multiple reinterpret_casts 2016-11-24 21:40:31 +03:00
Antony Polukhin
be3c2fa322 Remove debug line from test 2016-11-24 21:38:33 +03:00
Antony Polukhin
55e7b1981b Hand-write popen/pclose and close the strerr in the child process 2016-11-24 21:37:47 +03:00
Antony Polukhin
48eba3030d Make the linux backend print location in source file, extract function names even if they have no visibility, fix warnings 2016-11-24 21:36:32 +03:00
Antony Polukhin
b564087208 Make Linux version of detail::backtrace_holder look exactly as the Windows version 2016-11-24 09:34:49 +03:00
Antony Polukhin
87f0c76816 Attempt to fix Win test failures 2016-11-24 09:24:51 +03:00
Antony Polukhin
fad2a7dc81 Added some thoughts on getting source file name and code lines for functions 2016-11-24 09:15:24 +03:00
Antony Polukhin
aaef5f134f Fix minor issues that are seen by tests and appeared after refactoring 2016-11-23 22:55:39 +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
4da524a601 Debug printing enabled 2016-11-22 23:12:32 +03:00
Antony Polukhin
91b6a8f115 Fix Win warnings 2016-11-22 22:46:55 +03:00
Antony Polukhin
d7c20e50b2 Fixing Windows linkage 2016-11-22 22:28:26 +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
d7bd9eb125 CI bugfix 2016-11-18 22:19:53 +03:00
Antony Polukhin
880252b1f0 Attempt to speedup AppVeyor (2) 2016-11-18 00:57:00 +03:00
Antony Polukhin
0df83bcbc9 Attempt to speedup AppVeyor 2016-11-18 00:55:35 +03:00
Antony Polukhin
ae0b131340 Attempt to fix TravisCI (2) 2016-11-18 00:42:23 +03:00
Antony Polukhin
d65d8534cb Attempt to fix TravisCI 2016-11-17 23:12:40 +03:00
Antony Polukhin
36136e0396 Change sources in TravisCI to approved ones 2016-11-17 23:06:57 +03:00
Antony Polukhin
db2c08c383 Speedup the TravisCI a little bit 2016-11-17 23:01:35 +03:00
Antony Polukhin
591f3d00e9 Fix example 2016-11-17 23:01:14 +03:00
Antony Polukhin
d5ca2411cd Fix tests and TravisCI script 2016-11-17 22:49:49 +03:00
Antony Polukhin
b9cbcb48be Fix Windows compilation and improve examples 2016-11-17 22:39:06 +03:00
Antony Polukhin
051a2d3557 Force TravisCI to run tests using sanitizers 2016-11-17 22:38:29 +03:00
Antony Polukhin
468f7fc381 Implemented get_source_line() and get_source_file() for Windows backend. Fixed debug engine detection during build 2016-11-17 22:17:18 +03:00
Antony Polukhin
db56639833 Send source file and source line requests to the backend s 2016-11-17 22:12:39 +03:00
Antony Polukhin
4320fc2a14 Remove some of the reinterpret_casts 2016-11-16 22:07:02 +03:00
Antony Polukhin
b826c957a3 Fix win build (3) 2016-11-15 23:28:48 +03:00
Antony Polukhin
0c905ff5a2 Fix win build (2) 2016-11-15 23:17:28 +03:00
Antony Polukhin
8e98270361 Fix win build 2016-11-15 22:02:05 +03:00
Antony Polukhin
115c5db0a3 Follow Niall comments and reimplement win debugging in thread safe manner 2016-11-15 21:30:12 +03:00
Antony Polukhin
e793933aa4 More tests for frames and noop backend 2016-10-29 09:31:50 +03:00
Antony Polukhin
2b10fd4f7e Run tests with libunwind backend on TravisCI (attempt 2) 2016-10-26 23:13:10 +03:00
Antony Polukhin
cf431f5850 Run tests with libunwind backend on TravisCI 2016-10-26 22:49:55 +03:00
Antony Polukhin
7630b5b733 Fix compilation 2016-10-26 22:42:22 +03:00
Antony Polukhin
1fdcac743d Added one more example, more information about the backends added to the docs 2016-10-26 22:26:37 +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