summaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2025-05-13 17:52:23 +0200
committerGitHub <noreply@github.com>2025-05-13 17:52:23 +0200
commit91ea49499325aeff8426135721b1bd432e5b7780 (patch)
treebfc83aee7f61f880f6f58f7c3c4bd54a157643e2 /lldb/test/API/python_api
parentdcd5e476d91da267f49b837c07a84df43b1800cd (diff)
[lldb] Move lldb_enable_attach from test_common to a separate header (#139550)
test_common is force-included into every compilation, which causes problems when we're compiling assembly code, as we were in #138805. This avoids that as we can include the header only when it's needed.
Diffstat (limited to 'lldb/test/API/python_api')
-rw-r--r--lldb/test/API/python_api/hello_world/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/test/API/python_api/hello_world/main.c b/lldb/test/API/python_api/hello_world/main.c
index c516f923614f..865baa4f4ed1 100644
--- a/lldb/test/API/python_api/hello_world/main.c
+++ b/lldb/test/API/python_api/hello_world/main.c
@@ -1,3 +1,4 @@
+#include "attach.h"
#include <stdio.h>
#ifdef _MSC_VER
#include <windows.h>