We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a468604 commit 07cafa9Copy full SHA for 07cafa9
Python/remote_debugging.c
@@ -548,6 +548,11 @@ get_py_runtime(proc_handle_t* handle)
548
549
#ifdef MS_WINDOWS
550
// On Windows, search for 'python' in executable or DLL
551
+#ifdef ___clang__
552
+ const char* secname = "_PyRuntime";
553
+#else
554
+ const char* secname = "PyRuntime";
555
+#endif
556
address = search_windows_map_for_section(handle, "PyRuntime", L"python");
557
if (address == 0) {
558
// Error out: 'python' substring covers both executable and DLL
0 commit comments