Merge branch 'main' into dev

This commit is contained in:
Jeremy 2024-07-02 13:20:20 -06:00
commit 060272be5a
No known key found for this signature in database
GPG Key ID: B4C8300FEC395042
3 changed files with 18 additions and 8 deletions

View File

@ -1,6 +1,7 @@
# Changelog # Changelog
- [Changelog](#changelog) - [Changelog](#changelog)
- [v0.6.2](#v062)
- [v0.6.1](#v061) - [v0.6.1](#v061)
- [v0.6.0](#v060) - [v0.6.0](#v060)
- [v0.5.4](#v054) - [v0.5.4](#v054)
@ -17,6 +18,15 @@
- [v0.1.1](#v011) - [v0.1.1](#v011)
- [v0.1](#v01) - [v0.1](#v01)
# v0.6.2
Fixes:
- Fix an issue with unwinding to collect stack traces during exception creation on arm https://github.com/jeremy-rifkin/cpptrace/issues/134
- Fix issue where `dladdr1` wasn't being used even when detected
Robustness:
- Setup more robust unit tests and added them to CI
# v0.6.1 # v0.6.1
Fixes: Fixes:

View File

@ -9,7 +9,7 @@ set(package_name "cpptrace")
project( project(
cpptrace cpptrace
VERSION 0.6.1 VERSION 0.6.2
DESCRIPTION "Simple, portable, and self-contained stacktrace library for C++11 and newer " DESCRIPTION "Simple, portable, and self-contained stacktrace library for C++11 and newer "
HOMEPAGE_URL "https://github.com/jeremy-rifkin/cpptrace" HOMEPAGE_URL "https://github.com/jeremy-rifkin/cpptrace"
LANGUAGES C CXX LANGUAGES C CXX

View File

@ -107,7 +107,7 @@ include(FetchContent)
FetchContent_Declare( FetchContent_Declare(
cpptrace cpptrace
GIT_REPOSITORY https://github.com/jeremy-rifkin/cpptrace.git GIT_REPOSITORY https://github.com/jeremy-rifkin/cpptrace.git
GIT_TAG v0.6.1 # <HASH or TAG> GIT_TAG v0.6.2 # <HASH or TAG>
) )
FetchContent_MakeAvailable(cpptrace) FetchContent_MakeAvailable(cpptrace)
target_link_libraries(your_target cpptrace::cpptrace) target_link_libraries(your_target cpptrace::cpptrace)
@ -596,7 +596,7 @@ include(FetchContent)
FetchContent_Declare( FetchContent_Declare(
cpptrace cpptrace
GIT_REPOSITORY https://github.com/jeremy-rifkin/cpptrace.git GIT_REPOSITORY https://github.com/jeremy-rifkin/cpptrace.git
GIT_TAG v0.6.1 # <HASH or TAG> GIT_TAG v0.6.2 # <HASH or TAG>
) )
FetchContent_MakeAvailable(cpptrace) FetchContent_MakeAvailable(cpptrace)
target_link_libraries(your_target cpptrace::cpptrace) target_link_libraries(your_target cpptrace::cpptrace)
@ -612,7 +612,7 @@ information.
```sh ```sh
git clone https://github.com/jeremy-rifkin/cpptrace.git git clone https://github.com/jeremy-rifkin/cpptrace.git
git checkout v0.6.1 git checkout v0.6.2
mkdir cpptrace/build mkdir cpptrace/build
cd cpptrace/build cd cpptrace/build
cmake .. -DCMAKE_BUILD_TYPE=Release cmake .. -DCMAKE_BUILD_TYPE=Release
@ -655,7 +655,7 @@ you when installing new libraries.
```ps1 ```ps1
git clone https://github.com/jeremy-rifkin/cpptrace.git git clone https://github.com/jeremy-rifkin/cpptrace.git
git checkout v0.6.1 git checkout v0.6.2
mkdir cpptrace/build mkdir cpptrace/build
cd cpptrace/build cd cpptrace/build
cmake .. -DCMAKE_BUILD_TYPE=Release cmake .. -DCMAKE_BUILD_TYPE=Release
@ -673,7 +673,7 @@ To install just for the local user (or any custom prefix):
```sh ```sh
git clone https://github.com/jeremy-rifkin/cpptrace.git git clone https://github.com/jeremy-rifkin/cpptrace.git
git checkout v0.6.1 git checkout v0.6.2
mkdir cpptrace/build mkdir cpptrace/build
cd cpptrace/build cd cpptrace/build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$HOME/wherever cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$HOME/wherever
@ -756,7 +756,7 @@ make install
cd ~/scratch/cpptrace-test cd ~/scratch/cpptrace-test
git clone https://github.com/jeremy-rifkin/cpptrace.git git clone https://github.com/jeremy-rifkin/cpptrace.git
cd cpptrace cd cpptrace
git checkout v0.6.1 git checkout v0.6.2
mkdir build mkdir build
cd build cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=On -DCPPTRACE_USE_EXTERNAL_LIBDWARF=On -DCMAKE_PREFIX_PATH=~/scratch/cpptrace-test/resources -DCMAKE_INSTALL_PREFIX=~/scratch/cpptrace-test/resources cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=On -DCPPTRACE_USE_EXTERNAL_LIBDWARF=On -DCMAKE_PREFIX_PATH=~/scratch/cpptrace-test/resources -DCMAKE_INSTALL_PREFIX=~/scratch/cpptrace-test/resources
@ -776,7 +776,7 @@ cpptrace and its dependencies.
Cpptrace is available through conan at https://conan.io/center/recipes/cpptrace. Cpptrace is available through conan at https://conan.io/center/recipes/cpptrace.
``` ```
[requires] [requires]
cpptrace/0.6.1 cpptrace/0.6.2
[generators] [generators]
CMakeDeps CMakeDeps
CMakeToolchain CMakeToolchain