[clang] [llvm] [clang][Modules][Serialization] Avoid serializing duplicate source location entries for shared input files (PR #209795)

Qiongsi Wu via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 20 08:49:15 PDT 2026


qiongsiwu wrote:

> > To be clear, there are no cases like this in Apple's SDKs, and this case is contrived indeed. I suspect it is unreasonable to require that we preserve the diagnostics verbatim, but I think we should get a handle on the crash.
> 
> Okay, I'll look into this. Does the scanning look fine?

Yup scanning itself is good. Using the scanned results to build the TU is not. The TU compilation crashes. 

https://github.com/llvm/llvm-project/pull/209795


More information about the cfe-commits mailing list