Skip to content
Merged
Changes from 1 commit
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
Next Next commit
skip debug COFF sections on Windows
  • Loading branch information
chris-eibl committed Nov 28, 2025
commit 6c4fab14d66d4a650e716e9c4dd034e427b888b5
4 changes: 4 additions & 0 deletions 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