aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2022-06-03 13:13:18 +0200
committerDmitry Vyukov <dvyukov@google.com>2022-06-03 17:26:50 +0200
commit438e961a3d21d171d2a07c566f0c512b1481e18c (patch)
tree72c4e790e381a9a6f92e2e62e6a0095073dea0f2 /executor
parent56250633ec0a1d1a77a9f35dd6fe7175142d43d9 (diff)
prog: fix panic in squash of out_overlay structs
We are seeing crashes like: panic: call overlay_uses: result arg overlayres64 references out-of-tree result This is caused by fact that we completely discard out_overlay part during squashing. So if it contains any resources used later, we will get out-of-tree references. Prohibit squashing structs with out_overlay attribute. Alternatives would be either to produce out_overlay struct after squashing as well, or remove all resources in out part from the program. But it does not seem to be worth the complexity (we have few complex structs with out_overlay, if any).
Diffstat (limited to 'executor')
0 files changed, 0 insertions, 0 deletions