[PATCH] D14583: Report Windows error code in a fatal error after a system call

Greg Bedwell via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 11 13:11:21 PST 2015


gbedwell added a subscriber: gbedwell.
gbedwell added a comment.

> > Also, I am really curious to know why CryptAcquireContext fails in those cases!

> 

> 

> Me too.  Once is a fluke, twice is a trend.  Probably some obscure system-resource problem but it would be nice to be sure.


I'm out of the office this week, so can't test, but I'm pretty sure you can reproduce this by spawning clang in an environment where the SYSTEMROOT environment variable has not been propagated (or by running it from a cmd window after typing "set SYSTEMROOT=".


http://reviews.llvm.org/D14583





More information about the cfe-commits mailing list