Skip to content

Fix definition of _Py_RemoteDebug_ symbols for static linking #135146

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Python/remote_debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@
}
}

void
static void
_Py_RemoteDebug_ClearCache(proc_handle_t *handle)

Check warning on line 135 in Python/remote_debug.h

View workflow job for this annotation

GitHub Actions / Address sanitizer (ubuntu-24.04)

‘_Py_RemoteDebug_ClearCache’ defined but not used [-Wunused-function]

Check warning on line 135 in Python/remote_debug.h

View workflow job for this annotation

GitHub Actions / Cross build Linux

‘_Py_RemoteDebug_ClearCache’ defined but not used [-Wunused-function]

Check warning on line 135 in Python/remote_debug.h

View workflow job for this annotation

GitHub Actions / Hypothesis tests on Ubuntu

‘_Py_RemoteDebug_ClearCache’ defined but not used [-Wunused-function]

Check warning on line 135 in Python/remote_debug.h

View workflow job for this annotation

GitHub Actions / Ubuntu / build and test (ubuntu-24.04-arm)

‘_Py_RemoteDebug_ClearCache’ defined but not used [-Wunused-function]

Check warning on line 135 in Python/remote_debug.h

View workflow job for this annotation

GitHub Actions / Ubuntu / build and test (ubuntu-24.04)

‘_Py_RemoteDebug_ClearCache’ defined but not used [-Wunused-function]

Check warning on line 135 in Python/remote_debug.h

View workflow job for this annotation

GitHub Actions / Ubuntu (free-threading) / build and test (ubuntu-24.04)

‘_Py_RemoteDebug_ClearCache’ defined but not used [-Wunused-function]

Check warning on line 135 in Python/remote_debug.h

View workflow job for this annotation

GitHub Actions / Ubuntu (free-threading) / build and test (ubuntu-24.04-arm)

‘_Py_RemoteDebug_ClearCache’ defined but not used [-Wunused-function]

Check warning on line 135 in Python/remote_debug.h

View workflow job for this annotation

GitHub Actions / Ubuntu (bolt) / build and test (ubuntu-24.04)

‘_Py_RemoteDebug_ClearCache’ defined but not used [-Wunused-function]
{
for (int i = 0; i < MAX_PAGES; i++) {
handle->pages[i].valid = 0;
Expand Down Expand Up @@ -989,8 +989,8 @@
#endif
}

int
static int
_Py_RemoteDebug_PagedReadRemoteMemory(proc_handle_t *handle,

Check warning on line 993 in Python/remote_debug.h

View workflow job for this annotation

GitHub Actions / Address sanitizer (ubuntu-24.04)

‘_Py_RemoteDebug_PagedReadRemoteMemory’ defined but not used [-Wunused-function]

Check warning on line 993 in Python/remote_debug.h

View workflow job for this annotation

GitHub Actions / Cross build Linux

‘_Py_RemoteDebug_PagedReadRemoteMemory’ defined but not used [-Wunused-function]

Check warning on line 993 in Python/remote_debug.h

View workflow job for this annotation

GitHub Actions / Hypothesis tests on Ubuntu

‘_Py_RemoteDebug_PagedReadRemoteMemory’ defined but not used [-Wunused-function]

Check warning on line 993 in Python/remote_debug.h

View workflow job for this annotation

GitHub Actions / Ubuntu / build and test (ubuntu-24.04-arm)

‘_Py_RemoteDebug_PagedReadRemoteMemory’ defined but not used [-Wunused-function]

Check warning on line 993 in Python/remote_debug.h

View workflow job for this annotation

GitHub Actions / Ubuntu / build and test (ubuntu-24.04)

‘_Py_RemoteDebug_PagedReadRemoteMemory’ defined but not used [-Wunused-function]

Check warning on line 993 in Python/remote_debug.h

View workflow job for this annotation

GitHub Actions / Ubuntu (free-threading) / build and test (ubuntu-24.04)

‘_Py_RemoteDebug_PagedReadRemoteMemory’ defined but not used [-Wunused-function]

Check warning on line 993 in Python/remote_debug.h

View workflow job for this annotation

GitHub Actions / Ubuntu (free-threading) / build and test (ubuntu-24.04-arm)

‘_Py_RemoteDebug_PagedReadRemoteMemory’ defined but not used [-Wunused-function]

Check warning on line 993 in Python/remote_debug.h

View workflow job for this annotation

GitHub Actions / Ubuntu (bolt) / build and test (ubuntu-24.04)

‘_Py_RemoteDebug_PagedReadRemoteMemory’ defined but not used [-Wunused-function]
uintptr_t addr,
size_t size,
void *out)
Expand Down
1 change: 1 addition & 0 deletions Tools/build/.warningignore_macos
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ Modules/expat/siphash.h 7
Modules/expat/xmlparse.c 13
Modules/expat/xmltok.c 3
Modules/expat/xmltok_impl.c 26
Python/remote_debug.h 2
1 change: 1 addition & 0 deletions Tools/build/.warningignore_ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
# Keep lines sorted lexicographically to help avoid merge conflicts.
# Format example:
# /path/to/file (number of warnings in file)
Python/remote_debug.h 2
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy