[Lldb-commits] [PATCH] D64267: lldb_assert: abort when assertions are enabled.

Davide Italiano via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Jul 5 14:22:52 PDT 2019


davide added inline comments.


================
Comment at: lldb/source/Utility/LLDBAssert.cpp:25-26
+  // In a Debug configuration lldb_assert() behaves like assert().
+  assert(false && "lldb_assert failed");
+
+  // In a Release configuration it will print a warning and encourage the user
----------------
llvm_unreachable?


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

https://reviews.llvm.org/D64267





More information about the lldb-commits mailing list