This is an archive of the discontinued LLVM Phabricator instance.

[lldb/Lua] Redirect Lua stdout/stderr to the CommandReturnObject
ClosedPublic

Authored by JDevlieghere on Jun 23 2020, 2:14 PM.

Details

Summary

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

Diff Detail

Event Timeline

labath accepted this revision.Jun 25 2020, 1:29 AM
labath added inline comments.
lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp
77

I wonder if we should just pass options.GetEnableIO() to the factory function, and let it figure out the details...

This revision is now accepted and ready to land.Jun 25 2020, 1:29 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJun 25 2020, 10:15 AM