Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for custom demangler #126

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed
- Protect the error number in signal handler (#128)
- Support custom demangler (#126)

## [0.9.0] - 2022-05-09

4 changes: 2 additions & 2 deletions src/frames.rs
Original file line number Diff line number Diff line change
@@ -106,8 +106,8 @@ impl Symbol {
self.raw_name.as_deref().unwrap_or(b"Unknown")
}

pub fn name(&self) -> &str {
self.name.as_deref().unwrap_or("Unknown")
pub fn name(&self) -> String {
self.name.as_deref().unwrap_or("Unknown").to_string()
}

pub fn sys_name(&self) -> Cow<str> {