diff options
| author | Martin Storsjö <martin@martin.st> | 2025-10-10 18:12:57 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-10 18:12:57 +0300 |
| commit | 31d260211a27a59788c6a00a3bf55df8e5047940 (patch) | |
| tree | 62bdf5b794fa9224723cb232e174bee537c5ad4e /lldb/source/Plugins/ScriptInterpreter/Python | |
| parent | fca40b3b6fdc621e25166cd4b287a9b36b6f46a8 (diff) | |
| download | llvm-31d260211a27a59788c6a00a3bf55df8e5047940.zip llvm-31d260211a27a59788c6a00a3bf55df8e5047940.tar.gz llvm-31d260211a27a59788c6a00a3bf55df8e5047940.tar.bz2 | |
[lldb] Add a missing <atomic> include. NFC. (#162809)
This fixes building LLDB for mingw with libstdc++, after
8ae30a3facd25c9c7c2cfb96b69466a6c4d22baa.
Previously, building errored out with errors like these:
In file included from llvm-project/lldb/include/lldb/Protocol/MCP/Transport.h:12,
from llvm-project/lldb/include/lldb/Protocol/MCP/Server.h:16,
from llvm-project/lldb/source/Plugins/Protocol/MCP/ProtocolServerMCP.h:15,
from llvm-project/lldb/source/Plugins/Protocol/MCP/ProtocolServerMCP.cpp:9:
llvm-project/lldb/include/lldb/Host/JSONTransport.h:608:23: error: field ‘replied’ has incomplete type ‘std::atomic<bool>’
608 | std::atomic<bool> replied = {false};
| ^~~~~~~
In file included from gcc-mingw/x86_64-w64-mingw32/include/c++/12.1.0/bits/shared_ptr_atomic.h:33,
from gcc-mingw/x86_64-w64-mingw32/include/c++/12.1.0/memory:78,
from llvm-project/lldb/include/lldb/Host/Socket.h:12,
from llvm-project/lldb/include/lldb/Core/ProtocolServer.h:13,
from llvm-project/lldb/source/Plugins/Protocol/MCP/ProtocolServerMCP.h:12:
gcc-mingw/x86_64-w64-mingw32/include/c++/12.1.0/bits/atomic_base.h:162:12: note: declaration of ‘struct std::atomic<bool>’
162 | struct atomic;
| ^~~~~~
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions
