[all-commits] [llvm/llvm-project] 842283: [lldb/ScriptInterpreter] Let the IORedirect factor...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Thu Jun 25 09:56:05 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 842283652eb89e7c207ecfdac5e546472332f02b
      https://github.com/llvm/llvm-project/commit/842283652eb89e7c207ecfdac5e546472332f02b
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-06-25 (Thu, 25 Jun 2020)

  Changed paths:
    M lldb/include/lldb/Interpreter/ScriptInterpreter.h
    M lldb/source/Interpreter/ScriptInterpreter.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp

  Log Message:
  -----------
  [lldb/ScriptInterpreter] Let the IORedirect factory handle IO being disabled.

Have one factory method that decides how to initialize the
ScriptInterpreterIORedirect object based on whether IO is enabled or
disabled.


  Commit: ed8184b7814df4310dbad065a9a1c3bb8f3bfa86
      https://github.com/llvm/llvm-project/commit/ed8184b7814df4310dbad065a9a1c3bb8f3bfa86
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-06-25 (Thu, 25 Jun 2020)

  Changed paths:
    M lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp
    M lldb/test/Shell/ScriptInterpreter/Lua/io.test

  Log Message:
  -----------
  [lldb/Lua] Redirect Lua stdout/stderr to the CommandReturnObject

Redirect the output of stdout and stderr to the CommandReturnObject for
one line commands.

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


Compare: https://github.com/llvm/llvm-project/compare/79d7e9c7d07a...ed8184b7814d


More information about the All-commits mailing list