diff --git a/llvm/include/llvm/Support/Compression.h b/llvm/include/llvm/Support/Compression.h --- a/llvm/include/llvm/Support/Compression.h +++ b/llvm/include/llvm/Support/Compression.h @@ -24,6 +24,7 @@ namespace zlib { +static constexpr StringRef AlgorithmName = "zlib"; static constexpr int NoCompression = 0; static constexpr int BestSpeedCompression = 1; static constexpr int DefaultCompression = 6; @@ -45,6 +46,7 @@ namespace zstd { +static constexpr StringRef AlgorithmName = "zstd"; static constexpr int NoCompression = -5; static constexpr int BestSpeedCompression = 1; static constexpr int DefaultCompression = 5;