[PATCH] D74070: [Clang] Don't let gen crash diagnostics fail when '#pragma clang __debug crash' is used

Hans Wennborg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 6 01:05:40 PST 2020


hans accepted this revision.
hans added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang/lib/Lex/Pragma.cpp:1108
-      DebugOverflowStack();
-    } else if (II->isStr("handle_crash")) {
-      llvm::CrashRecoveryContext *CRC =llvm::CrashRecoveryContext::GetCurrent();
----------------
Maybe also add to the description that you're removing this one. And does this mean we can drop the CrashRecoveryContext.h include?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74070





More information about the cfe-commits mailing list