The Clang static analyzer crashes when analyzing code that imports C++20 modules built with coverage instrumentation flags (-fprofile-instr-generate -fcoverage-mapping).
Environment:
- Clang version: 21.1.6 (could also reproduce with Ubuntu clang version 21.1.8)
- OS: Linux
- Standard: C++26 (also reproducible with C++23)
There is a minimal reproducer attached.
minimal-standalone.zip