Skip to content

Commit 00cd7e3

Browse files
committed
Is it BSS?
1 parent f4c05b3 commit 00cd7e3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tools/jit/_targets.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,8 @@ def _handle_section(
270270
else:
271271
# Zeroed BSS data, seen with printf debugging calls:
272272
section_data_bytes = [0] * section["RawDataSize"]
273+
# XXX
274+
assert section["RawDataSize"] == 0, section["RawDataSize"]
273275
if "IMAGE_SCN_MEM_EXECUTE" in flags:
274276
value = _stencils.HoleValue.CODE
275277
stencil = group.code

0 commit comments

Comments
 (0)