[llvm] [LLVM] Add zstd compressed frame magic to LLVM magic (PR #222773)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 11 01:03:54 PDT 2026


================
@@ -154,3 +160,22 @@ TEST_F(MagicTest, Magic) {
     ASSERT_NO_ERROR(fs::remove(Twine(file_pathname)));
   }
 }
+
+TEST_F(MagicTest, ZstdCompressedBlob) {
+  if (!compression::zstd::isAvailable())
+    GTEST_SKIP() << "zstd is not available";
----------------
jh7370 wrote:

Can we do this at compile time (i.e. not build this test if zstd isn't available)?

https://github.com/llvm/llvm-project/pull/222773


More information about the llvm-commits mailing list