[Lldb-commits] [lldb] r231310 - Introduce lldbassert(x)
Siva Chandra
sivachandra at google.com
Wed Mar 4 15:30:16 PST 2015
On Wed, Mar 4, 2015 at 2:59 PM, Enrico Granata <egranata at apple.com> wrote:
> +#ifdef LLDB_CONFIGURATION_DEBUG
> +#define lldbassert(x) assert(x)
> +#else
> +#define lldbassert(x) lldb_private::lldb_assert(x, #x, __FUNCTION__, __FILE__, __LINE__)
> +#endif
Why should we have this ifdef? As in, why shouldn't we use lldb_assert
unconditionally, always (giving us the benefit of backtraces always)?
More information about the lldb-commits
mailing list