[all-commits] [llvm/llvm-project] db5f74: [lldb] Make some functions useful to REPLs public
Walter Erquinigo via All-commits
all-commits at lists.llvm.org
Thu May 4 12:44:43 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: db5f745a2bfcd1b93fc298da6cfcf5ed2f00e98f
https://github.com/llvm/llvm-project/commit/db5f745a2bfcd1b93fc298da6cfcf5ed2f00e98f
Author: walter erquinigo <walter at modular.com>
Date: 2023-05-04 (Thu, 04 May 2023)
Changed paths:
M lldb/include/lldb/Core/Debugger.h
Log Message:
-----------
[lldb] Make some functions useful to REPLs public
`StartEventHandlerThread` and `StopEventHandlerThread` are available to the SwiftREPL even though they are protected because SwiftREPL is a friend class of Debugger. I'm developing my own REPL and having access to these functions, including `FlushProcessOutput`, is desirable.
Differential Revision: https://reviews.llvm.org/D149717
Commit: bfb7c99f3aeab09236adf1f684f7144f384c6dd7
https://github.com/llvm/llvm-project/commit/bfb7c99f3aeab09236adf1f684f7144f384c6dd7
Author: walter erquinigo <walter at modular.com>
Date: 2023-05-04 (Thu, 04 May 2023)
Changed paths:
M lldb/include/lldb/Expression/REPL.h
M lldb/source/Expression/REPL.cpp
Log Message:
-----------
[LLDB] Add a hook to notify REPLs that an expression was evaluated
REPL implementations don't have an easy way to know that an expression has been evaluated, so I'm adding a simple function for that. In the future we can add another hook for meta commands.
Differential Revision: https://reviews.llvm.org/D149719
Compare: https://github.com/llvm/llvm-project/compare/c395a846001a...bfb7c99f3aea
More information about the All-commits
mailing list