hans accepted this revision.
hans added a comment.
This revision is now accepted and ready to land.

Looks good to me. Thanks for pushing this forward!

(Only one very minor comment.)



================
Comment at: llvm/unittests/Support/CrashRecoveryTest.cpp:72
+  sys::RemoveFileOnSignal(Filename);
+  llvm::sys::AddSignalHandler(incrementGlobalWithCookie, nullptr);
+  GlobalInt = 0;
----------------
Is there a purpose to passing the pointer her, or could it just use 
incrementGlobal? If we can't, maybe call it WithPointer or something instead 
(or use an overload) - I was confused by the Cookie part until I realize you 
just mean it takes some argument.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70568/new/

https://reviews.llvm.org/D70568



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to