[Lldb-commits] [PATCH] D51604: Terminate debugger if an assert was hit

Dávid Bolvanský via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 3 15:23:27 PDT 2018


xbolva00 created this revision.
xbolva00 added reviewers: JDevlieghere, teemperor.
Herald added a subscriber: lldb-commits.

Repository:
  rLLDB LLDB

https://reviews.llvm.org/D51604

Files:
  source/Utility/LLDBAssert.cpp


Index: source/Utility/LLDBAssert.cpp
===================================================================
--- source/Utility/LLDBAssert.cpp
+++ source/Utility/LLDBAssert.cpp
@@ -28,5 +28,6 @@
     llvm::sys::PrintStackTrace(errs());
     errs() << "please file a bug report against lldb reporting this failure "
               "log, and as many details as possible\n";
+    exit(1);      
   }
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51604.163749.patch
Type: text/x-patch
Size: 396 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180903/19f31c72/attachment.bin>


More information about the lldb-commits mailing list