[all-commits] [llvm/llvm-project] fd19ff: [lldb/Utility] Use assert instead of llvm_unreacha...
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Tue Jan 14 09:14:34 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: fd19ffc6a502f8e647696d550abb04a6c8c1b182
https://github.com/llvm/llvm-project/commit/fd19ffc6a502f8e647696d550abb04a6c8c1b182
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2020-01-14 (Tue, 14 Jan 2020)
Changed paths:
M lldb/source/Utility/LLDBAssert.cpp
Log Message:
-----------
[lldb/Utility] Use assert instead of llvm_unreachable for LLDBAssert
llvm_unreachable is marked noreturn so the compiler can assume the code
for printing the error message in release builds isn't hit which defeats
the purpose.
More information about the All-commits
mailing list