[Lldb-commits] [PATCH] D133778: Fix LLDB build on old Linux kernels

David Spickett via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 13 08:25:38 PDT 2022


DavidSpickett added a comment.

llvm_unreachable is equivalent to __builtin_unreachable so yes it aborts with a stack trace. I misread and thought you were returning values still.

Worth trying one of the trace commands in this build and see if lldb crashes or we get a nice "not supported" message. unreachable is fine if we're reasonably sure you won't get there by accident.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133778



More information about the lldb-commits mailing list