Commit Graph

92 Commits

Author SHA1 Message Date
Jeremy Rifkin
79931c8823
Parsing of mach-o symbol tables, generation of debug maps, and resolution through object files (#82) 2024-01-29 22:12:59 -06:00
eightfold
218957dfb0
New C api (#80)
Updated C API following the requested scheme. May implement "exceptions"
later...

Closes #38

---------

Co-authored-by: Jeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com>
2024-01-23 00:16:20 -06:00
Jeremy
3d74da8df1
Turn on -Werror for CI pipelines 2024-01-14 23:42:15 -06:00
Jeremy
2100723312
Another attempt to resolve libdwarf header issues 2024-01-14 19:56:11 -06:00
Jeremy
399e52f460
Try again to fix libdwarf #includes 2024-01-14 15:23:02 -06:00
Jeremy
5d64a98d08
Handle libdwarf's sporadic header placement better 2024-01-14 03:11:33 -06:00
Jeremy
4743e95988
Merge branch 'main' into dev 2024-01-14 02:53:59 -06:00
Jeremy
7720df748a
Updates to urls and tags for libdwarf 2024-01-14 02:53:35 -06:00
hades
965505e465
fix locating libunwind without pkgconfig (#76)
The call to find_path used an incorrect variable name, that wasn't
included in the target_include_directories call.
2024-01-13 13:18:25 -06:00
Jeremy
ca76080968
Updates to better support external libdwarf, because nothing about how libdwarf's cmake is setup is consistent 2024-01-13 01:31:10 -06:00
Jeremy
aa5315769e
Handle color arguments better if C and C++ compiler families differ 2023-12-06 00:16:24 -05:00
Jeremy
ab389c36bd
Bump to 0.3.1 2023-12-03 13:27:58 -05:00
Jeremy
4ec11d00de
Bump versions to 0.3.0 2023-11-22 19:54:18 -06:00
Jeremy
594dd720b4
Update setup for finding and linking libunwind stuff 2023-11-21 23:22:15 -06:00
Jeremy
728ec2cb40
Add another link for vcpkg 2023-11-21 22:44:13 -06:00
Jeremy
a106bc4680
Use libdwarf::libdwarf on conan 2023-11-21 15:17:38 -06:00
Jeremy
cd59ab5478
Added signal tracing demo 2023-11-19 23:46:49 -06:00
Jeremy
4a9b24b31b
Only build signal tracer on unix 2023-11-19 23:27:27 -06:00
Jeremy
24e64ab385
Check for _dl_find_object support 2023-11-19 23:17:11 -06:00
Jeremy
ac13e71877
Implement signal-safe resolution of basic object information 2023-11-19 22:49:58 -06:00
Jeremy
8297d234f6
Use an optimized mirror for libdwarf 2023-11-13 11:48:15 -05:00
Jeremy
b28cb54ced
Rename demo/test options to CPPTRACE_BUILD_TESTING 2023-11-13 10:44:50 -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
f21874cbf7
Use CMAKE_DL_LIBS 2023-11-07 10:44:42 -05:00
Jeremy
f4a71c2d23
Some small cmake fixes 2023-11-06 22:37:47 -05:00
Jeremy
01ac14ba92
Try another way to set no_warning_for_no_symbols 2023-11-06 17:18:57 -05:00
Jeremy
cd9d29bf2b
Suppress ranlib "has no symbols" warnings 2023-11-06 17:14:54 -05:00
Jeremy
3489ed1f72
Fix 2023-11-06 16:51:18 -05:00
Jeremy
d0bc2526e7
try again 2023-11-06 15:57:26 -05:00
Jeremy
046b23f3a1
Try again 2023-11-06 15:54:57 -05:00
Jeremy
faea88265d
Bump 2023-11-06 15:44:19 -05:00
Jeremy
781c30f63f
Fix build 2023-11-06 15:16:33 -05:00
Jeremy Rifkin
e717930f5d
Unbundle libdwarf (#58)
Pending #57
2023-11-06 13:04:58 -05:00
Jeremy Rifkin
98368fb417
CMake improvements (#57) 2023-11-06 12:12:07 -05:00
Jeremy
ad4f9c4060
Make CPPTRACE_USE_SYSTEM_LIBDWARF non-advanced 2023-11-01 11:54:25 -04:00
Jeremy
41ab5fdb7e
Add bindir change back in 2023-10-08 22:06:43 -04:00
Jeremy
5bbadbf5b2
Revert "Try bindir, might revert"
This reverts commit ff8f761a2b.
2023-10-08 22:03:14 -04:00
Jeremy
ff8f761a2b
Try bindir, might revert 2023-10-08 14:58:05 -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
3143181612
Bump version and make changelog notes 2023-10-06 01:03:12 -04:00
Jeremy
58130d7ed2
Remove old check 2023-10-04 20:15:15 -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
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
262f024332
Don't try to install dwarf target 2023-10-04 15:13:29 -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
556d7fe33d
Use StackWalk64 for mingw and cleanup checks performed in cmake 2023-09-29 13:10:21 -04:00