[all-commits] [llvm/llvm-project] 58b450: [lldb] [Host] Refactor TerminalState

Michał Górny via All-commits all-commits at lists.llvm.org
Fri Oct 1 03:53:39 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 58b4501eeabb2728a5c48e05295f3636db0ecee1
      https://github.com/llvm/llvm-project/commit/58b4501eeabb2728a5c48e05295f3636db0ecee1
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2021-10-01 (Fri, 01 Oct 2021)

  Changed paths:
    M lldb/include/lldb/Host/Terminal.h
    M lldb/source/Host/common/Terminal.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
    M lldb/source/Target/Process.cpp

  Log Message:
  -----------
  [lldb] [Host] Refactor TerminalState

Refactor TerminalState to make the code simpler.  Move 'struct termios'
to a PImpl-style subclass.  Add an RAII interface to automatically store
and restore the state.

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




More information about the All-commits mailing list