Merge branch 'main' into dev
This commit is contained in:
commit
2985cb1d6c
18
CHANGELOG.md
18
CHANGELOG.md
@ -1,6 +1,7 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
- [Changelog](#changelog)
|
- [Changelog](#changelog)
|
||||||
|
- [v0.5.0](#v050)
|
||||||
- [v0.4.1](#v041)
|
- [v0.4.1](#v041)
|
||||||
- [v0.4.0](#v040)
|
- [v0.4.0](#v040)
|
||||||
- [v0.3.1](#v031)
|
- [v0.3.1](#v031)
|
||||||
@ -10,6 +11,23 @@
|
|||||||
- [v0.1.1](#v011)
|
- [v0.1.1](#v011)
|
||||||
- [v0.1](#v01)
|
- [v0.1](#v01)
|
||||||
|
|
||||||
|
# v0.5.0
|
||||||
|
|
||||||
|
New:
|
||||||
|
- Traces with source code snippets with `cpptrace::stacktrace::print_with_snippets`
|
||||||
|
- Added `cpptrace::get_snippet` utility
|
||||||
|
- Added `cpptrace::can_signal_safe_unwind` utility
|
||||||
|
- Added `stacktrace_frame::get_object_info`
|
||||||
|
|
||||||
|
Changes:
|
||||||
|
- The library is now compiled with position-independent code by default
|
||||||
|
|
||||||
|
Fixes:
|
||||||
|
- Fixed issue with `_dl_find_object` implementation
|
||||||
|
|
||||||
|
Misc:
|
||||||
|
- Various refactoring, cleanup, and improvements
|
||||||
|
|
||||||
# v0.4.1
|
# v0.4.1
|
||||||
|
|
||||||
Changes:
|
Changes:
|
||||||
|
|||||||
@ -9,7 +9,7 @@ set(package_name "cpptrace")
|
|||||||
|
|
||||||
project(
|
project(
|
||||||
cpptrace
|
cpptrace
|
||||||
VERSION 0.4.1
|
VERSION 0.5.0
|
||||||
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
|
||||||
|
|||||||
14
README.md
14
README.md
@ -106,7 +106,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.4.1 # <HASH or TAG>
|
GIT_TAG v0.5.0 # <HASH or TAG>
|
||||||
)
|
)
|
||||||
FetchContent_MakeAvailable(cpptrace)
|
FetchContent_MakeAvailable(cpptrace)
|
||||||
target_link_libraries(your_target cpptrace::cpptrace)
|
target_link_libraries(your_target cpptrace::cpptrace)
|
||||||
@ -569,7 +569,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.4.1 # <HASH or TAG>
|
GIT_TAG v0.5.0 # <HASH or TAG>
|
||||||
)
|
)
|
||||||
FetchContent_MakeAvailable(cpptrace)
|
FetchContent_MakeAvailable(cpptrace)
|
||||||
target_link_libraries(your_target cpptrace::cpptrace)
|
target_link_libraries(your_target cpptrace::cpptrace)
|
||||||
@ -585,7 +585,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.4.1
|
git checkout v0.5.0
|
||||||
mkdir cpptrace/build
|
mkdir cpptrace/build
|
||||||
cd cpptrace/build
|
cd cpptrace/build
|
||||||
cmake .. -DCMAKE_BUILD_TYPE=Release
|
cmake .. -DCMAKE_BUILD_TYPE=Release
|
||||||
@ -621,7 +621,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.4.1
|
git checkout v0.5.0
|
||||||
mkdir cpptrace/build
|
mkdir cpptrace/build
|
||||||
cd cpptrace/build
|
cd cpptrace/build
|
||||||
cmake .. -DCMAKE_BUILD_TYPE=Release
|
cmake .. -DCMAKE_BUILD_TYPE=Release
|
||||||
@ -639,7 +639,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.4.1
|
git checkout v0.5.0
|
||||||
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
|
||||||
@ -718,7 +718,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.4.1
|
git checkout v0.5.0
|
||||||
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
|
||||||
@ -738,7 +738,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.4.1
|
cpptrace/0.5.0
|
||||||
[generators]
|
[generators]
|
||||||
CMakeDeps
|
CMakeDeps
|
||||||
CMakeToolchain
|
CMakeToolchain
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user