We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd264ca commit 771d3b4Copy full SHA for 771d3b4
src/lib.rs
@@ -89,7 +89,7 @@ pub fn demangle(mut s: &str) -> Demangle {
89
let candidate = &s[i + llvm.len()..];
90
let all_hex = candidate.chars().all(|c| {
91
match c {
92
- 'A' ... 'F' | '0' ... '9' => true,
+ 'A' ... 'F' | '0' ... '9' | '@' => true,
93
_ => false,
94
}
95
});
@@ -395,6 +395,7 @@ mod tests {
395
fn demangle_thinlto() {
396
// One element, no hash.
397
t!("_ZN3fooE.llvm.9D1C9369", "foo");
398
+ t!("_ZN3fooE.llvm.9D1C9369@@16", "foo");
399
t_nohash!("_ZN9backtrace3foo17hbb467fcdaea5d79bE.llvm.A5310EB9", "backtrace::foo");
400
401
0 commit comments