[PATCH] D14892: Add Windows error code and tidy formatting for system errors

Paul Robinson via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 20 15:52:20 PST 2015


probinson added a comment.

Using Greg Bedwell's test suggestion:

  > set SYSTEMROOT=
  > clang -c t.cpp

I was able to test the update to error reporting re. a crypto context. I got this message:

fatal error: error in backend: Could not acquire a cryptographic contextInvalid Signature.

(1) There ought to be nicer punctuation, e.g. "context: Invalid Signature."
(2) Providing the actual Windows error number could be more helpful than the text.

With this patch I get:

fatal error: error in backend: Could not acquire a cryptographic context: Invalid Signature. (0x80090006)


http://reviews.llvm.org/D14892





More information about the llvm-commits mailing list