I downloaded the prebuilt LLVM/Clang binaries from the official GitHub Releases page. After extracting the archive, it occupies more than 11 GB of disk space.
I only need Clang to compile C and C++ programs. I don't need the full LLVM toolchain, documentation, examples, tests, or development files.
Which files and directories are actually required to keep so that Clang continues to work correctly on Linux? Is there a minimal directory structure that can be preserved while safely deleting everything else?
For example, which of these directories are essential (bin, lib, libexec, include, share, etc.), and which ones can be removed without breaking compilation?
Version: LLVM 22.1.8
Platform: Debian 13.5 (x86_64)