-
Notifications
You must be signed in to change notification settings - Fork 10
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
Error while parsing a pdb: failed to parse ID: UnimplementedTypeKind(65535) #6
Comments
Ahh so looking a bit further into this bug, it sems like the IdIndex that we were trying to (erroneously) parse here is the special |
Found the culprit: rust-lang/rust#96475
|
Thanks for chasing that down. I recall Cody telling me that the I saw someone there has a working draft, if this is critical for some project I'd recommend compiling the stage1 compiler (https://rustc-dev-guide.rust-lang.org/building/bootstrapping.html) with their patch and It sounds like a pain but I swear it's actually not terrible. |
Is the |
Absolutely not. Most of the panics in these
The suggestion wasn't necessarily to build all the time with a custom compiler just to work around this, but instead to see if that fixed the bug. With that said, it wasn't clear to me last night that this issue was just with BuildInfo and could be easily worked around in this crate. |
Yeah that seems to fix the panic issue. |
Cool, I'll push out an update soon and close this out once it's done. |
Fixed in v0.6.0 |
We are getting some parsing error when opening some PDB file using ezpdb. Not sure if this is relevant, but the PDB generated here corresponds to a rather large rust binary. Dumping the PDB, it seems like there are a lot of records (around 500k) in the TPI stream.
The text was updated successfully, but these errors were encountered: