Jeremy Rifkin
3b0eb54797
Implement a system for preventing redundant tracing during search, and other various improvements for the from_current system ( #159 )
2024-08-20 23:10:17 -05:00
WSUFan
0249b50698
fix Bazel build ( #158 )
2024-08-18 21:46:34 -05:00
Jeremy Rifkin
fddbe72a66
Quick readme update
2024-08-18 19:17:53 -05:00
WSUFan
88d681d986
Enable Bazel build system support ( #153 )
...
This pull request enables Bazel build support for cpptrace. Please note
that currently, only Linux is supported. Additional platform support
will be added if necessary.
2024-08-18 19:16:53 -05:00
Jeremy Rifkin
3e131ce8c6
Experiment with some benchmarking
2024-08-18 18:59:50 -05:00
Jeremy Rifkin
5e30d2ae60
Disable a configuration broken upstream
2024-08-18 18:18:20 -05:00
Jeremy Rifkin
b87be87c66
Fix CPPTRACE_BUILD_TESTING_DWARF_VERSION use
2024-08-18 16:56:37 -05:00
Jeremy Rifkin
b364d37f78
Implement better dwarf rangelist base address logic ( #157 )
...
Related to https://github.com/davea42/libdwarf-code/issues/255 , allows
re-enabling the clang+sanitizer+rel+dsym tests.
2024-08-18 16:51:40 -05:00
Jeremy Rifkin
a4d75a3894
Unittest under libc++ ( #156 )
2024-08-18 14:11:51 -05:00
Jeremy Rifkin
d64a935fb4
Bump to libdwarf 0.11.0
2024-08-18 14:11:16 -05:00
Jeremy Rifkin
64e0210449
Better handle resolution of safe object frames with empty object paths
2024-08-18 13:38:06 -05:00
Jeremy Rifkin
0e2c3a130d
Fix windows build
2024-08-18 12:11:20 -05:00
Jeremy Rifkin
973309cb22
Some more platform refactoring/cleanup, also add a note to readme
2024-08-18 12:07:34 -05:00
Jeremy Rifkin
164cc75681
A little refactoring and reorganization. Remove relative includes.
2024-08-18 11:58:49 -05:00
Jeremy Rifkin
0bb5aa2318
Add a basic test for traced exception objects
2024-08-18 11:41:38 -05:00
Jeremy Rifkin
3f68171d0b
Some makefile improvements
2024-08-18 11:33:57 -05:00
Jeremy Rifkin
7621f2b277
A couple notes/comments/documentation tweaks
2024-08-18 11:20:59 -05:00
Jeremy Rifkin
5558210cbe
Bump zstd to 1.5.6, #150
2024-08-18 11:20:21 -05:00
Jeremy Rifkin
26e009c688
Add cpptrace::from_current ( #155 )
2024-08-18 11:11:47 -05:00
Jeremy Rifkin
d5eed55dcd
Fix -g on msvc
2024-08-18 00:56:28 -05:00
Jeremy Rifkin
df1d78d1eb
Revert "Fix -g on msvc"
...
This reverts commit 51551ab741 .
2024-08-18 00:55:49 -05:00
Jeremy Rifkin
51551ab741
Fix -g on msvc
2024-08-18 00:53:44 -05:00
Jeremy Rifkin
70e78e3c8a
Remove some commented code
2024-08-16 10:29:00 -05:00
Degen's Regens
767ddeb10c
size_t cannot be negative ( #154 )
2024-08-16 10:24:40 -05:00
Jeremy
90de25f1df
Bump to v0.6.3
2024-07-13 23:16:13 -05:00
Jeremy
2ae193256d
Try using ninja in the build ci setup
2024-07-13 22:50:18 -05:00
Jeremy
a2f1812896
Disable configuration that's due to a libdwarf bug
2024-07-13 22:38:25 -05:00
Jeremy
95a233958c
Allow non-string values in matrix
2024-07-13 21:35:38 -05:00
Jeremy
59f74320fc
Add dSYM to the macos unittest matrix
2024-07-13 21:22:14 -05:00
Jeremy Rifkin
0b95a6afb9
Macos unit testing ( #148 )
2024-07-13 19:37:55 -05:00
Jeremy
cc2b3fce40
Add another try/catch to prevent any potential TCO
2024-07-13 19:07:58 -05:00
Jeremy
dcf89743f6
Block TCO on wrapper functions
2024-07-13 19:06:33 -05:00
Jeremy
c35ad6887a
Fix issue with incorrect reported object addresses on macos when using debug maps
2024-07-13 19:06:13 -05:00
Jeremy
f8fee797cf
Use iosfwd instead of iostream
2024-07-12 17:51:06 -05:00
Jeremy
e8fce3fad1
Fix broken links and the example code in signal-safe-tracing.md, and also add a note to the documentation about _dl_find_object being required for signal-safe tracing
2024-07-12 17:33:35 -05:00
Jeremy
15b6d9a2cd
Try turning off <format> stuff for the unittest matrix
2024-07-12 17:24:20 -05:00
Jeremy
aae6091395
Add a flag to disable the inclusion of <format> and the provision for std::formatter specializations
2024-07-12 17:22:58 -05:00
Jeremy
dbeb12b71d
Fix zstd/libdwarf setting placement, they need to not just be top-level
2024-07-12 16:59:27 -05:00
Jeremy Rifkin
7497bf2a6f
Unit test more thoroughly and rework matrix ci system ( #147 )
2024-07-12 00:59:22 -05:00
Jeremy
e1fb3527a4
Fix an issue with split dwarf on clang
2024-07-11 19:10:16 -05:00
Jeremy
611660de5b
Fix use after free during cleanup of split dwarf information, fixes #141
2024-07-02 21:56:35 -06:00
Jeremy
b93028921b
Turn on -g unconditionally
2024-07-02 13:34:15 -06:00
Jeremy
060272be5a
Merge branch 'main' into dev
2024-07-02 13:20:20 -06:00
Jeremy
bf0551b781
Add some extra checks to unit tests
2024-06-22 19:48:04 -05:00
Jeremy
ea566778fc
Bump to v0.6.2
2024-06-19 20:41:34 -05:00
Jeremy Rifkin
7a9ed920d5
Add unit tests to CI ( #140 )
2024-06-19 20:33:32 -05:00
Jeremy
ce075b056f
Make unit testing more robust
2024-06-19 17:11:24 -05:00
Jeremy
1f19c31e02
Fix bug with dladdr1 not being used, silly typo
2024-06-19 15:15:51 -05:00
Jeremy Rifkin
2fb0a6fd2e
Fix trace generation for cpptrace exception objects on armv7hf ( #138 )
...
noexcept on get_raw_trace_and_absorb seems to somehow interfere with
unwinding on armv7hf, possibly due to unwind tables not being generated
for the function. Fixes #134 .
2024-06-13 11:17:44 -05:00
Jeremy
7543677d6f
Bump to v0.6.1
2024-06-11 22:36:32 -05:00