Commit Graph

29 Commits

Author SHA1 Message Date
Deukhoofd 47ee3a0295
When we were doing STATICC we were linking libdw dynamically, still requiring many dependencies. THis switches to libbfd, which should massively reduce the number of required libraries.
continuous-integration/drone/push Build is passing Details
2021-03-26 13:37:01 +01:00
Deukhoofd 95266f71ba
Lots of cleanups to get stacks properly working in all cases. 2020-12-23 12:04:20 +01:00
Deukhoofd 4e854516c1
Rename Assert macro to Ensure, clean up exception to be in line with THROW.
continuous-integration/drone/push Build is passing Details
2020-12-13 11:41:41 +01:00
Deukhoofd c445536aed
Fixed issue preventing THROW macro having easy access to sstream.
continuous-integration/drone/push Build is passing Details
2020-10-15 18:05:51 +02:00
Deukhoofd c3606c25f6
Replaces some overrides with final for minor performance gains.
continuous-integration/drone/push Build is passing Details
2020-10-15 17:54:06 +02:00
Deukhoofd edaa9f496d
Modify THROW macro to use a constexpr function for file name, instead of macro.
continuous-integration/drone/push Build is passing Details
This prevents potential warnings (such as clang-tidy's "cppcoreguidelines-pro-bounds-pointer-arithmetic") from showing up when using this macro.
2020-10-09 13:48:21 +02:00
Deukhoofd 51c7ba1c50
Use a precompiled header for many std includes.
continuous-integration/drone/push Build is passing Details
2020-09-25 11:06:55 +02:00
Deukhoofd 74d7e23056
Style fixes.
continuous-integration/drone/push Build is passing Details
2020-09-24 21:02:22 +02:00
Deukhoofd 31b63d56db
Lots of documentation.
continuous-integration/drone/push Build is passing Details
2020-09-22 19:32:40 +02:00
Deukhoofd cfcdbfe984
Support for custom signal callbacks.
continuous-integration/drone/push Build is failing Details
2020-08-18 18:41:18 +02:00
Deukhoofd d59c13a34d
Allow disabling pretty traces and remove dependency on libdw.
continuous-integration/drone/push Build is passing Details
2020-08-17 20:08:23 +02:00
Deukhoofd a665ad3eaf
Set up macros for easier exception throwing.
continuous-integration/drone/push Build is passing Details
2020-08-17 12:02:42 +02:00
Deukhoofd a64c2aaca8
Trim whitespace of snippets in stack traces.
continuous-integration/drone/push Build is passing Details
2020-08-16 19:45:19 +02:00
Deukhoofd 98ff6b3b69
Improves exception stack traces by including inlined functions, and displaying snippets of code.
continuous-integration/drone/push Build is passing Details
2020-08-16 19:15:45 +02:00
Deukhoofd 5c9e58d032
Style fixes.
continuous-integration/drone/push Build is failing Details
2020-08-16 17:34:58 +02:00
Deukhoofd 73e67b8c5d
Fixed define flag.
continuous-integration/drone/push Build is passing Details
2020-08-16 17:31:11 +02:00
Deukhoofd c58bc6f785
Hide some functions that aren't used by Windows from the Windows build.
continuous-integration/drone/push Build is failing Details
2020-08-16 17:27:09 +02:00
Deukhoofd 620248f329
Include debug symbols in Release build, rework exception stack trace.
continuous-integration/drone/push Build is failing Details
2020-08-16 16:59:13 +02:00
Deukhoofd 5a14c712d2
Style fix
continuous-integration/drone/push Build is passing Details
2020-08-16 10:43:54 +02:00
Deukhoofd 20a7dc55a0
Return a value when stacktrace is empty.
continuous-integration/drone/push Build is passing Details
2020-08-16 10:41:10 +02:00
Deukhoofd 9726920b7f
Fixes for Windows.
continuous-integration/drone/push Build is passing Details
2020-08-15 16:14:33 +02:00
Deukhoofd 7de12d53b5
Implements noexcept copy constructor for Exception. 2020-08-15 16:14:06 +02:00
Deukhoofd f158dbf8a2
Throw all exceptions with Arbutils exception. 2020-08-15 14:50:17 +02:00
Deukhoofd 168c45cb3b
Further fixes for Exception class on Windows.
continuous-integration/drone/push Build is failing Details
2020-08-15 14:25:27 +02:00
Deukhoofd c7d18db8b7
Completely not include the stacktrace on Windows.
continuous-integration/drone/push Build is failing Details
2020-08-15 14:22:32 +02:00
Deukhoofd e778b61839
Don't use stacktrace on Windows.
continuous-integration/drone/push Build is failing Details
2020-08-15 14:19:36 +02:00
Deukhoofd 1dee4cd4a8
Better handling for Exception stack trace testing.
continuous-integration/drone/push Build is failing Details
2020-08-15 13:59:10 +02:00
Deukhoofd 5ac7654be1
Add option to get depth of stack trace.
continuous-integration/drone/push Build is failing Details
2020-08-15 13:48:34 +02:00
Deukhoofd f29e111b78
Support new exception type with stack trace.
continuous-integration/drone/push Build is failing Details
2020-08-15 13:31:16 +02:00