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

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 9 12:49:51 PST 2026


hokein wrote:

> I agree that the cross-module referencing is getting a bit too hairy. Every thing I try ends up being another band-aid, and I don't see a clean way forward there right now. I'm still poking at it though.

I'm a bit concerned about this as well. It seems like a fundamental limitation of the current approach rather than just edge cases, and it directly impacts correctness.

The new approach looks much more promising -- thanks for continuing to explore it!


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


More information about the cfe-commits mailing list