aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachinePipeliner.cpp
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2022-09-15 21:58:24 +0000
committerPirama Arumuga Nainar <pirama@google.com>2022-09-15 21:58:24 +0000
commit13c6828bedeb815ee7748f82ca36073dbd55a9db (patch)
tree8e8489b4f6994dcd5be8b962f28725160deec26e /llvm/lib/CodeGen/MachinePipeliner.cpp
parent0baec207ea28457dabcd310c2545b7eee047c685 (diff)
downloadllvm-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