Commit Graph

830 Commits

Author SHA1 Message Date
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
5079aef62f
Try to lint include/ as well 2023-10-05 12:21:51 -04:00
Jeremy
a9964f3a5e
Merge branch 'jr/sonar-fixes' into main 2023-10-05 12:11:30 -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 Rifkin
ddad92b1f8
Sonar fixes (#52) 2023-10-05 11:17:39 -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 Rifkin
75677dda70
Add sonarlint workflow (#51) 2023-10-05 09:57:53 -04:00
Jeremy
ab630c052b
Update has_stackwalk 2023-10-05 09:55:07 -04:00
Jeremy
f38b693e74
Update zlib handling again 2023-10-04 22:26:07 -04:00
Jeremy
e529aaa94f
Update zlib checks 2023-10-04 22:11:02 -04:00
Jeremy
7f787167be
Update zlib findpackage 2023-10-04 22:08:24 -04:00
Jeremy
58130d7ed2
Remove old check 2023-10-04 20:15:15 -04:00
Jeremy
1ee7f68850
Allow zlib through find_package 2023-10-04 19:47:14 -04:00
Jeremy
cd4fa0dd0c
Remove HAS_ADDR2LINE check 2023-10-04 18:49:33 -04:00
Jeremy
435b3cd001
Small fixes 2023-10-04 18:23:19 -04:00
Jeremy
79fc0df281
Update readme again 2023-10-04 17:05:09 -04:00
Jeremy
fbb581556c
Update readme 2023-10-04 17:03:46 -04:00
Jeremy
22bba739bd
Don't try to export dwarf if not using dwarf 2023-10-04 16:05:04 -04:00
Jeremy
b690d3805d
Add stackwalk64 check/fallback 2023-10-04 15:44:39 -04:00
Jeremy
4324901cd1
Fix stackwalk64 architecture detection 2023-10-04 15:31:59 -04:00
Jeremy
262f024332
Don't try to install dwarf target 2023-10-04 15:13:29 -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
e28cda9a35
Remove -Wnonnull-compare, it's included in -Wall 2023-10-04 12:05:06 -04:00
Jeremy
bbcd8db054
Better handle PIC / static linking 2023-10-04 10:27:03 -04:00
Jeremy
b236da4a0b
Patch for compilation on 32-bit msvc 2023-10-02 17:30:06 -04:00
Jeremy
26ba20acac
Update README and add changelog 2023-10-02 11:37:17 -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
63a7c471cd
Update platform logistic instructions for mac 2023-10-01 17:41:16 -04:00
Jeremy
190a8d6bbb
Libdwarf upstream changes 2023-10-01 12:00:47 -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
1d0a6642cf
Libdwarf updates from upstream, including bugfixes and proper mach-o universal binaru support. Huge thanks to the awesome maintainer. 2023-09-30 19:24:27 -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
Jeremy
d6f6617c14
Update demo 2023-09-30 03:35:11 -04:00
Jeremy
d964842bdb
Refactor some helper functions and wrappers for dawrf into another file 2023-09-29 15:13:35 -04:00
Jeremy
556d7fe33d
Use StackWalk64 for mingw and cleanup checks performed in cmake 2023-09-29 13:10:21 -04:00
Jeremy
d84a3167d9
Add cache mode config 2023-09-29 12:50:47 -04:00
Jeremy
93dde93802
Caching and optimization work for dwarf 2023-09-29 11:09:17 -04:00
Jeremy
59b5e80256
Adjust pc for better line number reporting with StackWalk64 2023-09-24 18:21:41 -04:00
Jeremy
97de21e977
Bump tag in README 2023-09-24 17:33:26 -04:00
Jeremy Rifkin
6de61e7755
Add StackWalk64 backend (#48) 2023-09-24 17:30:56 -04:00
Jeremy
edf55395d7
Cleanup CPPTRACE_USE_SYSTEM_LIBDWARF and add note to the README. TODO for some reason the include path still doesn't work. 2023-09-24 03:49:56 -04:00