Uh oh!
There was an error while loading. Please reload this page.
Fix GDB pretty-printers for compressed enums - #47617
Conversation
rust-highfive
commented
Jan 20, 2018
r? @aturon (rust_highfive has picked a reviewer for you, use r? to override) |
gentoo90
commented
Jan 20, 2018
michaelwoerister
commented
Jan 22, 2018
eddyb
commented
Jan 22, 2018
Yes it does (at least internally). However, we should be encoding a byte offset and some other information (not currently done). @tromey knows more about the ideal solution here. |
michaelwoerister
commented
Jan 22, 2018
What I meant was: A fat pointer should not have any fields that are themselves structs. |
eddyb
commented
Jan 22, 2018
@michaelwoerister Oh huh, this implementation doesn't even read the encoded field path? |
michaelwoerister
commented
Jan 22, 2018
The field path should be in |
eddyb
commented
Jan 22, 2018
@michaelwoerister I assumed that the decoder would be in |
michaelwoerister
commented
Jan 22, 2018
For now, we still rely on the in-tree pretty printers mostly, I think. |
michaelwoerister
commented
Jan 22, 2018
Or at least, they are still used often, so we should keep them working. |
kennytm
commented
Jan 31, 2018
Hi @gentoo90! Just to check if you are still on this. @michaelwoerister, I've change the tag back to S-waiting-on-review. Could you clarify what OP should do to the PR? If I understand #47617 (comment) correctly, what you mean is the fix is not correct ( |
emilyalbini
commented
Feb 5, 2018
@michaelwoerister ping from triage! |
shepmaster
commented
Feb 9, 2018
/cc @rust-lang/compiler — we haven't heard from @michaelwoerister in a week or two; is anyone else able to review this? |
michaelwoerister
commented
Feb 12, 2018
Back from vacation now... I'm going to close this since it only fixes the problem accidentally and would probably fail for more complicated cases than |
Pretty-printing of
Optionfailed with exception:main.rs