[PATCH] D20124: [PCH] Serialize skipped preprocessor ranges
Cameron via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 16 14:33:03 PST 2017
cameron314 added a comment.
Well, it seems like preamble PCH source location translation is fundamentally broken. The entry file has a single, positive file ID. The preamble PCH is treated as an imported module, so it has a negative file ID for the part that overlaps the preamble of the entry file. That means locations in the preamble part of the entry file can have two different file IDs depending on how they are arrived at.
I really don't know how to fix this. Any ideas?
https://reviews.llvm.org/D20124
More information about the cfe-commits
mailing list