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

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 8 13:33:46 PDT 2019


labath added a comment.

`lldbassert(x)` already expands to `assert(x)` in a debug (LLDB_CONFIGURATION_DEBUG) build. It sounds like you want this to assert in a non-debug build which has assertions enabled (Release+Assertions) ? If that's the case, then I think we should just change the `#ifdef LLDB_CONFIGURATION_DEBUG` in `LLDBAssert.h` into `#ifdef _DEBUG`..


Repository:
  rL LLVM

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

https://reviews.llvm.org/D64267





More information about the lldb-commits mailing list