| Issue |
179620
|
| Summary |
[clang][StaticAnalyzer] Crash when analyzing code importing C++20 modules built with coverage flags
|
| Labels |
clang
|
| Assignees |
|
| Reporter |
mrwsl
|
The Clang static analyzer crashes when analyzing code that imports C++20 modules **built with coverage instrumentation flags** (`-fprofile-instr-generate -fcoverage-mapping`).
**No external dependencies required** - crashes with just standard library templates.
Environment:
- **Clang version**: 21.1.6 (also affects clang-20)
- **OS**: Linux
- **Standard**: C++26 (also reproducible with C++23)
There is a minimal reproducer attached.
[minimal-standalone.zip](https://github.com/user-attachments/files/25064649/minimal-standalone.zip)
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs