llvm-project/lldb/source/Plugins/ScriptInterpreter
Jonas Devlieghere 5861234e72 [lldb] Track the API boundary using a thread_local variable.
The reproducers currently use a static variable to track the API
boundary. This is obviously incorrect when the SB API is used
concurrently. While I do not plan to support that use-case (right now),
I do want to avoid us crashing. As a first step, correctly track API
boundaries across multiple threads.

Before this patch SB API calls made by the embedded script interpreter
would be considered "behind the API boundary" and correctly ignored.
After this patch, we need to tell the reproducers to ignore the
scripting thread as a "private thread".

Differential revision: https://reviews.llvm.org/D92811
2020-12-09 08:58:40 -08:00
..
Lua [LLDB] fix error message for one-line breakpoint scripts 2020-12-07 11:21:07 +00:00
None [lldb] Get rid of helper CMake variables for Python 2020-08-17 08:47:52 -07:00
Python [lldb] Track the API boundary using a thread_local variable. 2020-12-09 08:58:40 -08:00
CMakeLists.txt [lldb/Lua] Add Boilerplate for a Lua Script Interpreter 2019-12-19 10:13:51 -08:00