diff options
author | Colin Cross <ccross@android.com> | 2022-09-15 21:58:24 +0000 |
---|---|---|
committer | Pirama Arumuga Nainar <pirama@google.com> | 2022-09-15 21:58:24 +0000 |
commit | 13c6828bedeb815ee7748f82ca36073dbd55a9db (patch) | |
tree | 8e8489b4f6994dcd5be8b962f28725160deec26e /llvm/lib/CodeGen/MachinePipeliner.cpp | |
parent | 0baec207ea28457dabcd310c2545b7eee047c685 (diff) | |
download | llvm-13c6828bedeb815ee7748f82ca36073dbd55a9db.zip llvm-13c6828bedeb815ee7748f82ca36073dbd55a9db.tar.gz llvm-13c6828bedeb815ee7748f82ca36073dbd55a9db.tar.bz2 |
Fix std::fpos pretty printer on musl
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.
Reviewed By: #libc, ldionne
Differential Revision: https://reviews.llvm.org/D132983
Diffstat (limited to 'llvm/lib/CodeGen/MachinePipeliner.cpp')
0 files changed, 0 insertions, 0 deletions