Commit Graph

171 Commits

Author SHA1 Message Date
Jeremy
96a55fc686
Fix windows build, and prevent future warnings 2023-11-12 23:42:26 -05:00
Jeremy
e80afd460b
Add safe tracing interface 2023-11-12 23:31:41 -05:00
Jeremy Rifkin
5541ec5519
Add libunwind back-end (#62) 2023-11-12 17:15:59 -05:00
Jeremy
259d596f76
Re-enable warnings 2023-11-08 23:59:48 -05:00
Jeremy
4c1c42c61d
Add frame_ptr alias 2023-11-08 21:32:34 -05:00
Jeremy
7929d239bd
Create a cache for CU srcfiles 2023-11-08 20:47:29 -05:00
Jeremy
2f8e1a5ff7
More work to get inline resolution going 2023-11-08 19:46:31 -05:00
Jeremy
1ced7c8dc3
Minor tweaks 2023-11-08 19:41:13 -05:00
Jeremy
6fbedd0ed6
Commend out prints 2023-11-08 14:59:53 -05:00
Jeremy
5bf66156cd
Minor fixes 2023-11-08 14:47:15 -05:00
Jeremy
7ffec7b3c0
Inital work to walk inline tree and show inlined calls 2023-11-08 13:05:39 -05:00
Jeremy
93de7b7060
spacing fix 2023-11-07 00:05:50 -05:00
Jeremy
6d62936c7b
cache path and line number 2023-11-07 00:05:32 -05:00
Jeremy
9096531e23
Either LUT or walk for line info based on cache mode 2023-11-06 23:20:11 -05:00
Jeremy
fef039ba26
Setup a lookup table for line info 2023-11-06 22:38:21 -05:00
Jeremy
781c30f63f
Fix build 2023-11-06 15:16:33 -05:00
Jeremy Rifkin
98368fb417
CMake improvements (#57) 2023-11-06 12:12:07 -05:00
Jeremy
ae5d2392fe
More std:: 2023-10-08 22:48:12 -04:00
Jeremy
ae484f0ed2
Improve terminate handler behavior when there's no active exception and also try to print a trace for non-cpptrace terminates 2023-10-08 14:55:21 -04:00
Jeremy
f6f64954de
Sonar suggestion 2023-10-07 17:43:39 -04:00
Jeremy
1d514c1532
Windows fix 2023-10-07 17:42:11 -04:00
Jeremy
05c3f7160b
Add specialized terminate handler and add error handling info to the README. Also updated demo. 2023-10-07 17:34:49 -04:00
Jeremy
2e0fa880bc
Small fixes 2023-10-07 15:05:50 -04:00
Jeremy
8bb8a2020c
Add some utilities for exception handling and detecting whether stderr is a terminal 2023-10-07 14:59:04 -04:00
Jeremy
df6c22f640
Sonar fix 2023-10-07 14:04:29 -04:00
Jeremy
4d2580185f
Sonar fixes 2023-10-07 13:59:57 -04:00
Jeremy
a422e132d4
Comments and sonar fixes 2023-10-07 13:43:39 -04:00
Jeremy Rifkin
b26c5e4ec8
Refactor cpptrace exception objects and simplify interface (#54) 2023-10-06 20:25:30 -04:00
Jeremy
bda3e2b169
Fix for msvc 2023-10-06 01:23:46 -04:00
Jeremy
2b1a2c7a19
Fix useless cast warning 2023-10-06 00:53:40 -04:00
Jeremy
2f507cc24d
Fix msvc build 2023-10-05 12:55:44 -04:00
Jeremy
0c03ac7a01
Refactor stacktrace::print 2023-10-05 12:41:52 -04:00
Jeremy
c3a27d15fb
Update trace objects to just be aggregates 2023-10-05 12:33:43 -04:00
Jeremy
53ceb99b46
Sonar fixes: More nullptr literal use, take std::fuction by const&, and [[noreturn]] 2023-10-05 12:08:47 -04:00
Jeremy
af181bf981
Disabled on sonar 2023-10-05 11:16:55 -04:00
Jeremy
1b9e5916f6
Some fixes 2023-10-05 11:07:46 -04:00
Jeremy
12b80f7af1
Some fixes 2023-10-05 11:01:03 -04:00
Jeremy
3b5064f1ff
Fix forwarding issue 2023-10-05 10:58:03 -04:00
Jeremy
435b3cd001
Small fixes 2023-10-04 18:23:19 -04:00
Jeremy
4324901cd1
Fix stackwalk64 architecture detection 2023-10-04 15:31:59 -04:00
Jeremy
3cdcc847c9
Fix gcc 5 2023-10-04 14:30:17 -04:00
Jeremy
15b2f36934
Update warning supression 2023-10-04 13:14:21 -04:00
Jeremy
81b2e46df1
Support stackwalk64 for 32-bit x86 2023-10-04 13:13:48 -04:00
Jeremy
b80026596f
Some warning fixes 2023-10-04 13:09:45 -04:00
Jeremy
b236da4a0b
Patch for compilation on 32-bit msvc 2023-10-02 17:30:06 -04:00
Jeremy
909ce8155f
Remove some old junk from the universal mach-o bodge 2023-10-02 11:01:21 -04:00
Jeremy Rifkin
fcd0dcc62b
Adjust program counters for execinfo and capturestackbacktrace too (#50) 2023-10-02 11:00:13 -04:00
Jeremy
b46ebe7f54
Update libdwarf code to remove fat mach-o bodge and properly handle fat mach-o files 2023-09-30 19:28:35 -04:00
Jeremy
d4bc913607
Setup global dwarf_resolver cache for dwarf resolving 2023-09-30 03:37:16 -04:00
Jeremy
e82f6e360f
Two small refactors 2023-09-30 03:36:07 -04:00