8000 gh-118836: Fix JIT build error when SHT_NOTE section is present by mgorny · Pull Request #119000 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-118836: Fix JIT build error when SHT_NOTE section is present #119000

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

Merged
merged 1 commit into from
May 13, 2024
Merged
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
gh-118836: Fix JIT build error when SHT_NOTE section is present
  • Loading branch information
mgorny committed May 13, 2024
commit 43d575a7b8371c53834000a396af9aa715839043
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fix an ``AssertionError`` when building with ``--enable-experimental-jit``
and the compiler emits a ``SHT_NOTE`` section.
1 change: 1 addition & 0 deletions Tools/jit/_targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ def _handle_section(
assert section_type in {
"SHT_GROUP",
"SHT_LLVM_ADDRSIG",
"SHT_NOTE",
"SHT_NULL",
"SHT_STRTAB",
"SHT_SYMTAB",
Expand Down
0