[all-commits] [llvm/llvm-project] 18bb1f: [lldb] Fix a potential bug that may cause assert f...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Wed May 27 05:05:51 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 18bb1f1067028fbeaf92774e640bd865c53e1ce1
      https://github.com/llvm/llvm-project/commit/18bb1f1067028fbeaf92774e640bd865c53e1ce1
  Author: Raphael Isemann <teemperor at gmail.com>
  Date:   2020-05-27 (Wed, 27 May 2020)

  Changed paths:
    M lldb/source/Interpreter/CommandObject.cpp

  Log Message:
  -----------
  [lldb] Fix a potential bug that may cause assert failure in CommandObject::CheckRequirements

Summary: `CommandObject::CheckRequirements` requires cleaning up `m_exe_ctx`
between commands. Function `HandleOptionCompletion` returns without cleaning up
`m_exe_ctx` could cause assert failure in later `CheckRequirements`.

Reviewers: teemperor, JDevlieghere

Reviewed By: teemperor

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D80447




More information about the All-commits mailing list