[all-commits] [llvm/llvm-project] 8b6836: [lldb] Assert on invalid index in OptionValuePrope...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Tue May 2 12:49:51 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b6836020464a537c829c56d34ec8f348e1f6056
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2023-05-02 (Tue, 02 May 2023)

  Changed paths:
    M lldb/include/lldb/Interpreter/OptionValueProperties.h
    M lldb/source/Core/Debugger.cpp
    M lldb/source/Interpreter/OptionValueProperties.cpp

  Log Message:
  [lldb] Assert on invalid index in OptionValueProperties (NFC)

All indexes passed to GetPropertyAtIndex are constants generated by
ablegen. We should never pass an invalid index.

More information about the All-commits mailing list