[PATCH] D76594: [clang][AST] User relative offsets inside AST file
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 23 10:21:33 PDT 2020
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
More information about the cfe-commits
mailing list