[PATCH] PrettyStackTrace guards around ASTReader

Jordan Rose jordan_rose at apple.com
Wed Nov 5 11:57:52 PST 2014


Hi rsmith, benlangmuir,

What do you think about adding a very trivial PrettyStackTrace guard around the entry points to ASTReader, to remind compiler developers to clear their module cache when they hit a crash here? Would this be the right way to do that?

http://reviews.llvm.org/D6138

Files:
  lib/Serialization/ASTReader.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6138.15823.patch
Type: text/x-patch
Size: 4847 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141105/3da5f65c/attachment.bin>


More information about the cfe-commits mailing list