Commit Graph

520 Commits

Author SHA1 Message Date
Antony Polukhin
4444773304 Update appveyor.yml 2024-09-12 18:28:19 +03:00
Antony Polukhin
0a1f8ac9a0 Fix Appveyor CI runs (#183) 2024-09-12 18:26:16 +03:00
Antony Polukhin
7c79d84614 fix attempt for Appveyor 2024-09-12 11:31:04 +03:00
Antony Polukhin
e95c2723d8 Add auto linking when using clang compiler under Visual Studio (fixes #100) 2024-09-12 11:15:03 +03:00
Antony Polukhin
9028c8a413 Attempt to fix weird build issues with CYGWIN and MacOS (fixes #88) 2024-09-12 11:14:26 +03:00
Antony Polukhin
b37fc77b5d Attempt to fix weird build issues with CYGWIN and MacOS (fixes #88) 2024-09-12 11:04:52 +03:00
Mats Taraldsvik
aa97b1a34c Fix missing namespace in stacktrace.qbk (#181) 2024-09-12 10:36:53 +03:00
Julien Schueller
23e1213f54 Fix missing include for std::exception (#178)
Fixes build on mingw: 
from_exception.cpp:333:23: error: 'current_exception' is not a member of 'std'
2024-09-03 10:27:59 +03:00
René Ferdinand Rivera Morell
ad121dbed0 Add support for modular build structure. (#172)
This is part of the effort to make the Boost libraries "modular" for build and consumption. See https://lists.boost.org/Archives/boost/2024/01/255704.php and https://github.com/grafikrobot/boost-b2-modular/blob/b2-modular/README.adoc for more information.
2024-09-01 17:23:26 +03:00
Jaroslaw Pelczar
981e37c218 Fix type conversions errors reported by GCC (#175)
This commit fixes errors when compiling with:
 -Wall -Werror -Wextra -Wconversion -Wsign-conversion

Signed-off-by: Jarosław Pelczar <jarek@jpelczar.com>
2024-09-01 17:22:07 +03:00
Antony Polukhin
cbf0df774d Fix addr2line work when the process is looked up via PATH.
Fixes #72
boost-1.86.0.beta1 boost-1.86.0
2024-07-07 20:30:51 +03:00
Peter Dimov
34e56c4e90 Do not define BOOST_STACKTRACE_DYN_LINK when BOOST_STACKTRACE_STATIC_LINK is defined 2024-06-23 20:36:49 +03:00
Peter Dimov
f32bd5a543 Define BOOST_STACKTRACE_LINK when BOOST_STACKTRACE_STATIC_LINK is defined. Refs #169. 2024-06-21 23:01:57 +03:00
Peter Dimov
79fc075655 Revert "Disable static linking in GHA because of https://github.com/boostorg/stacktrace/issues/169"
This reverts commit 274aeaa351.
2024-06-21 22:58:47 +03:00
Peter Dimov
6624a0aaeb Remove RelWithDebInfo from posix-cmake-test, because it fails under macos-14 2024-06-21 21:59:41 +03:00
Peter Dimov
ca76415503 Set CMAKE_BUILD_TYPE in posix-cmake-test 2024-06-21 21:53:32 +03:00
Peter Dimov
4352901d19 Move tests to their own function to ensure two stack frames 2024-06-21 21:42:05 +03:00
Peter Dimov
2820ed36b5 Change Windows jobs from Release to RelWithDebInfo 2024-06-21 20:09:21 +03:00
Peter Dimov
1a389747a3 Change test/CMakeLists.txt to use Boost::stacktrace 2024-06-21 20:01:34 +03:00
Peter Dimov
1db160d566 Change cmake_subdir_test and cmake_install_test to use Boost::stacktrace 2024-06-21 19:59:27 +03:00
Peter Dimov
1b16c5d6ae Add the boost_stacktrace library to CMakeLists.txt (an alias to the default backend) 2024-06-21 19:58:30 +03:00
Peter Dimov
274aeaa351 Disable static linking in GHA because of https://github.com/boostorg/stacktrace/issues/169 2024-06-21 18:33:09 +03:00
Peter Dimov
a615135de0 Update test/CMakeLists.txt 2024-06-21 18:12:51 +03:00
Peter Dimov
32749a7041 Update ci.yml 2024-06-21 18:07:37 +03:00
Peter Dimov
08d4f46333 Update test/CMakeLists.txt 2024-06-21 18:04:40 +03:00
Peter Dimov
97bc049bcb Link to ${CMAKE_DL_LIBS} where appropriate 2024-06-21 17:29:27 +03:00
Peter Dimov
98ed11d235 Update test/CMakeLists.txt 2024-06-21 17:25:11 +03:00
Peter Dimov
f1c5cd8963 Update test/CMakeLists.txt 2024-06-21 17:19:56 +03:00
Peter Dimov
94f11c52eb Add test/CMakeLists.txt 2024-06-21 17:13:06 +03:00
Peter Dimov
f6f3623594 Update cmake_install_test/CMakeLists.txt 2024-06-21 17:09:47 +03:00
Peter Dimov
aad95c2667 Add cmake_install_test, cmake_subdir_test 2024-06-21 17:05:04 +03:00
Peter Dimov
a95e7e5860 Add CMake jobs to GHA 2024-06-21 16:59:21 +03:00
Peter Dimov
8b79199a2a Merge pull request #168 from leha-bot/hotfix-for-cmake
hotfix for boost superproject CI
2024-06-21 16:56:41 +03:00
leha-bot
6e39a41abf hotfix for boost superproject CI 2024-06-21 14:59:41 +03:00
Alex
5747f85c0b CMake: add Boost::stacktrace ALIAS target for platform defaults (#167) 2024-06-20 11:26:28 +03:00
Antony Polukhin
c093aef138 Require support for noexcept and template aliases in tests 2024-06-20 10:42:31 +03:00
Antony Polukhin
66c0f7a54f avoid memory leaks and make the code more C++ish 2024-06-12 18:13:01 +03:00
Clément Chigot
aacfc2e557 Add dladdr minimal support for AIX
AIX doesn't provide dladdr syscall. This patch implements a minimal
version in order to be able to compile stacktrace.
2024-06-12 18:13:01 +03:00
Antony Polukhin
80af3a44c3 Fix shadowing (fixes #141) 2024-06-11 12:19:03 +03:00
Antony Polukhin
69260779d1 fix a typo in assert (fixes #164) 2024-06-10 22:24:16 +03:00
Peter Dimov
2c83563695 Add a conditional rule for enabling boost_stacktrace_from_exception. Fixes #165. (#166) 2024-05-27 11:38:17 +03:00
Marat Abrarov
39afcefb64 Avoid inclusion of rarely used Windows SDK headers which can cause conflict with other code using Windows SDK. (#157)
Signed-off-by: Marat Abrarov <abrarov@gmail.com>
2024-04-16 11:47:28 +03:00
huangqinjin
d1b7a61353 Implement stacktrace from current exception for MSVC (#159)
std::current_exception() makes a copy of current exception object
into returned std::exception_ptr. So the tracking of the original
exception object and its stacktrace are lost.
2024-04-16 11:39:07 +03:00
Antony Polukhin
351b03d522 Fix typo in documentation (fixes #158) boost-1.85.0 2024-04-01 12:17:55 +03:00
Antony Polukhin
a33e198cf6 More clarifications for async-signal-safety (refs #131) (#156) boost-1.85.0.beta1 2024-03-04 11:45:49 +03:00
Antony Polukhin
824f0c0ea7 Clarify the async-signal-safety guarantees in docs (refs #131) (#154) 2024-02-29 20:47:13 +03:00
Antony Polukhin
f783534b0f Fix frame_msvc.ipp compilation 2024-02-23 14:04:26 +03:00
Antony Polukhin
27093f24cb Update frame_msvc.ipp 2024-02-23 13:50:11 +03:00
Antony Polukhin
12e07fcca1 CI fixes (#153)
* Update thread_safety_checking.cpp to use Standard Library types
* Remove MinGW runs due to https://github.com/boostorg/system/issues/116
* Delete the shared memory example sources
2024-02-22 09:12:00 +03:00
Antony Polukhin
95caaeaf99 Option to disable boost_stacktrace_from_exception library build 2024-02-17 10:26:49 +03:00