We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e73ece commit 9184dbfCopy full SHA for 9184dbf
Tools/jit/_targets.py
@@ -312,7 +312,10 @@ def _handle_section(
312
if section_type == "SHT_RELA":
313
assert "SHF_INFO_LINK" in flags, flags
314
assert not section["Symbols"]
315
- value, base = group.symbols[section["Info"]]
+ maybe_symbol = group.symbols.get(section["Info"])
316
+ if maybe_symbol is None:
317
+ return
318
+ value, base = maybe_symbol
319
if value is _stencils.HoleValue.CODE:
320
stencil = group.code
321
else:
0 commit comments