Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
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
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed a bug where JIT stencils produced on Windows contained debug data. Patch by Chris Eibl.
1 change: 1 addition & 0 deletions 1 Tools/jit/_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ class COFFSection(typing.TypedDict):
Characteristics: dict[
typing.Literal["Flags"], list[dict[typing.Literal["Name"], str]]
]
Name: dict[typing.Literal["Value"], str]
Number: int
RawDataSize: int
Relocations: list[dict[typing.Literal["Relocation"], COFFRelocation]]
Expand Down
4 changes: 4 additions & 0 deletions 4 Tools/jit/_targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,10 @@ class _COFF(
def _handle_section(
self, section: _schema.COFFSection, group: _stencils.StencilGroup
) -> None:
name = section["Name"]["Value"]
if name == ".debug$S":
# skip debug sections
return
flags = {flag["Name"] for flag in section["Characteristics"]["Flags"]}
if "SectionData" in section:
section_data_bytes = section["SectionData"]["Bytes"]
Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.