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

Leonard Mosescu via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 4 09:09:44 PDT 2018


lemo added inline comments.


================
Comment at: source/Utility/LLDBAssert.cpp:31
+            "log, and as many details as possible\n";
+  exit(1);
 }
----------------
abort() may be a better choice here (exit() path calls a lot of shutdown code and it's not safe in a number of cases)


https://reviews.llvm.org/D51604





More information about the lldb-commits mailing list