The mbstate_t field in std::fpos is an opaque type provied by libc,
and musl's implementation does not match the one used by glibc.
Change StdFposPrinter to verify its assumptions about the layout
of mbstate_t, and leave out the state printing if it doesn't match.
Details
Details
- Reviewers
- pirama - ldionne 
- Group Reviewers
- Restricted Project 
- Commits
- rG13c6828bedeb: Fix std::fpos pretty printer on musl
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| libcxx/utils/gdb/libcxx/printers.py | ||
|---|---|---|
| 767 | accidentally introduced tabs? | |
| libcxx/utils/gdb/libcxx/printers.py | ||
|---|---|---|
| 767 | I'm not seeing any tabs in my local git CL, in the download raw diff here, or in the "show raw file (right)" output. I think that must be how phabricator highlights increased indentation? | |
| libcxx/utils/gdb/libcxx/printers.py | ||
|---|---|---|
| 767 | Tabs should be caught by our CI if introduced. Since it's green, I think it's all good. | |
accidentally introduced tabs?