[PATCH] D47260: Testcase for dwarf 5 crash/assert when calculating a checksum for an expansion

Adrian Prantl via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 23 11:40:39 PDT 2018


aprantl added a comment.

Once we encounter a # directive we are (most likely) looking at some form of preprocessed source and that means that the checksum will inevitably be different than what we would have gotten were we reading the file directly, because of the preprocessing. At this point the value of the hash approaches zero. I think dropping all checksums is reasonable in that situation.


Repository:
  rC Clang

https://reviews.llvm.org/D47260





More information about the cfe-commits mailing list