rust-lang / rust-lang/rustc-demangle
`demangle` not working on my symbols
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 319
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Description
Maybe I'm doing something wrong, but here's an example of a symbol I can't seem to demangle:
__ZN3pco25latent_batch_decompressor32LatentBatchDecompressor$LT$U$GT$18decompress_offsets17h254da28dd89d69cbE
I just get this back:
__ZN3pco25latent_batch_decompressor32LatentBatchDecompressordecompress_offsets17h254da28dd89d69cbE
I know this function was compiled with a const generic, and I'd like to know what the value of that generic was. I produced this symbol by running cargo build --release -- --emit=asm and reading the .s file.
target: darwin aarch64
version: 0.1.23
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the provided symbol using rustc-demangle 0.1.23 on the stated Darwin AArch64 target, starting from the demangle entry point and the emitted assembly example. Check how const-generic markers are parsed and rendered; done means the demangled output preserves the const-generic value without dropping symbol components.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100