sammccall added a comment.

This looks reasonable to me, though I'm not familiar enough with the code to do 
a good review.

Just wanted to confirm my understanding: the problematic offsets that are now 
section-relative instead of file-relative are only used in two sections of the 
file (macro directives and sloc entries). These sections seem likely to be 
small relative to others that hold e.g. the AST. So this should raise the 
effective size limit by a lot, more likely 100x than 5?

(We've coincidentally started to see large crashing preambles this week, so 
thanks for this! I think we probably don't need to add any detection/recovery 
if this limit is high enough)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76594/new/

https://reviews.llvm.org/D76594



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D76594: [clang][AS... Sam McCall via Phabricator via cfe-commits

Reply via email to