FailedChanges

Summary

  1. [NFC] Inline variable only used in debug builds (details)
  2. [CMake] Simplify CMake handling for zlib (details)
Commit 1a67522d3ef4b5b1d6d14f47895a6ad11598573c by rupprecht
[NFC] Inline variable only used in debug builds
The file was modifiedllvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
Commit 31e5f7120bdd2f76337686d9d169b1c00e6ee69c by phosek
[CMake] Simplify CMake handling for zlib

Rather than handling zlib handling manually, use find_package from CMake
to find zlib properly. Use this to normalize the LLVM_ENABLE_ZLIB,
HAVE_ZLIB, HAVE_ZLIB_H. Furthermore, require zlib if LLVM_ENABLE_ZLIB is
set to YES, which requires the distributor to explicitly select whether
zlib is enabled or not. This simplifies the CMake handling and usage in
the rest of the tooling.

This is a reland of abb0075 with all followup changes and fixes that
should address issues that were reported in PR44780.

Differential Revision: https://reviews.llvm.org/D79219
The file was modifiedllvm/utils/gn/secondary/clang/test/BUILD.gn
The file was modifiedllvm/lib/Support/CMakeLists.txt
The file was modifiedlld/test/CMakeLists.txt
The file was modifiedlldb/cmake/modules/LLDBStandalone.cmake
The file was modifiedllvm/include/llvm/Config/config.h.cmake
The file was modifiedllvm/test/lit.site.cfg.py.in
The file was modifiedcompiler-rt/test/lit.common.configured.in
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
The file was modifiedllvm/lib/Support/CRC.cpp
The file was modifiedllvm/unittests/Support/CompressionTest.cpp
The file was modifiedllvm/utils/gn/secondary/lld/test/BUILD.gn
The file was modifiedclang/test/CMakeLists.txt
The file was modifiedllvm/lib/Support/Compression.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
The file was modifiedllvm/cmake/config-ix.cmake
The file was modifiedllvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
The file was modifiedllvm/test/CMakeLists.txt
The file was modifiedlld/test/lit.site.cfg.py.in
The file was modifiedllvm/cmake/modules/LLVMConfig.cmake.in
The file was modifiedllvm/utils/gn/secondary/llvm/test/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/compiler-rt/test/BUILD.gn
The file was modifiedclang/test/lit.site.cfg.py.in