Re: [PATCH] D17299: [ASTReader] Report error when accessing corrupt record data

2016-05-10 Thread Vedant Kumar via cfe-commits
vsk abandoned this revision. vsk added a comment. I haven't measured the performance overhead of this patch. The failure case it's supposed to protect against is exceptionally rare: we haven't seen it happen again. In light of that, and considering that it clutters up the code, I think it'd be

Re: [PATCH] D17299: [ASTReader] Report error when accessing corrupt record data

2016-03-19 Thread Richard Smith via cfe-commits
rsmith added a comment. Have you done any performance testing on this code? In modules-heavy builds, bitcode reading is *very* hot. http://reviews.llvm.org/D17299 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin

Re: [PATCH] D17299: [ASTReader] Report error when accessing corrupt record data

2016-03-02 Thread Ben Langmuir via cfe-commits
benlangmuir added a comment. This LGTM, but I would like Richard to take a look too. http://reviews.llvm.org/D17299 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D17299: [ASTReader] Report error when accessing corrupt record data

2016-03-02 Thread Vedant Kumar via cfe-commits
vsk added a comment. Gentle ping. For context, we've had a few situations where corrupt pch files trigger surprising assertion failures in our world builds. http://reviews.llvm.org/D17299 ___ cfe-commits mailing list cfe-commits@lists.llvm.org htt

[PATCH] D17299: [ASTReader] Report error when accessing corrupt record data

2016-02-16 Thread Vedant Kumar via cfe-commits
vsk created this revision. vsk added reviewers: rsmith, benlangmuir. vsk added a subscriber: cfe-commits. If we try to read a corrupt pch, we can easily assert-fail or trigger invalid memory accesses when manipulating ASTReader::RecordData objects. This problem is easy enough to diagnose when asse