[PATCH] D137885: [modules] Support zstd in .pcm file
David Blaikie via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 14 09:51:48 PST 2022
dblaikie added inline comments.
================
Comment at: clang/lib/Serialization/ASTReader.cpp:1456
+ const llvm::compression::Format F =
+ Blob.size() >= 2 && memcmp(Blob.data(), "\x1f\x8b", 2) == 0
+ ? llvm::compression::Format::Zlib
----------------
Worth a comment about this magic number?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137885/new/
https://reviews.llvm.org/D137885
More information about the cfe-commits
mailing list