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



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to