summaryrefslogtreecommitdiffhomepage
path: root/pkg/test/dockerutil
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-05-21 16:45:30 -0700
committergVisor bot <gvisor-bot@google.com>2021-05-21 16:47:49 -0700
commit7675ccfc1a5509aa2a256dc30cc435d92204c130 (patch)
tree8e4f452eef8bbbc9e3a26df9000e4736588ab55c /pkg/test/dockerutil
parent821cec3f1fb628652558d56975345016090a29d3 (diff)
Prevent infinite loops from being optimized away.
https://github.com/llvm/llvm-project/commit/6c3129549374c0e81e28fd0a21e96f8087b63a78 adds "mustprogress" to loops, which causes empty, side-effect free loops to be optimized away. These loops are intentionally infinite for purposes of testing, so add asm statements that prevent them from being removed. PiperOrigin-RevId: 375188453
Diffstat (limited to 'pkg/test/dockerutil')
0 files changed, 0 insertions, 0 deletions