Demangle curly braces
They show up in things like fn(&std..panic..PanicInfo<'_>) $u7b$hook$u7d$::fn_pointer_shim.8352::h01f889b2277c719d
This commit is contained in:
parent
46e7f4b8c5
commit
8511b6faf4
@ -170,7 +170,9 @@ pub fn demangle(writer: &mut Write, s: &str) -> io::Result<()> {
|
||||
"$u20$", => b" ",
|
||||
"$u27$", => b"'",
|
||||
"$u5b$", => b"[",
|
||||
"$u5d$", => b"]"
|
||||
"$u5d$", => b"]",
|
||||
"$u7b$", => b"{",
|
||||
"$u7d$", => b"}"
|
||||
)
|
||||
} else {
|
||||
let idx = match rest.find('$') {
|
||||
|
Loading…
Reference in New Issue
Block a user