[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
Tue Sep 4 06:10:09 PDT 2018


xbolva00 added inline comments.


================
Comment at: source/Utility/LLDBAssert.cpp:23
   if (expression)
     ;
   else {
----------------
JDevlieghere wrote:
> I guess while we're at it we can turn this into an early return and use LLVM_LIKELY?
> 
> ```
> if (LLVM_LIKELY(expression))
>     return;
> ```
I thought about it also.. :) I will update the patch.


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D51604





More information about the lldb-commits mailing list