[all-commits] [llvm/llvm-project] 8b1cd3: [lldb] Use lldbassert in BuildObjCObjectPointerType

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Mon Jan 30 13:53:12 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b1cd3749eb6872b3a71cee4fe65ae3b9de4dc93
      https://github.com/llvm/llvm-project/commit/8b1cd3749eb6872b3a71cee4fe65ae3b9de4dc93
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2023-01-30 (Mon, 30 Jan 2023)

  Changed paths:
    M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.cpp

  Log Message:
  -----------
  [lldb] Use lldbassert in BuildObjCObjectPointerType

This assert is only checked in Debug builds but ignored in all other
builds. This replaces this code with lldbassert which should print a
warning to the user in release builds and actually asserts in debug
builds.

Differential revision: https://reviews.llvm.org/D76697




More information about the All-commits mailing list