summaryrefslogtreecommitdiffhomepage
path: root/vdso/seqlock.h
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-05-18 18:08:00 -0700
committergVisor bot <gvisor-bot@google.com>2021-05-18 18:13:36 -0700
commitf2d6c72b66a6dae9c71ace49a34bfbdb08b2306e (patch)
tree667c580fee840f879d4a55ad783f1be9c4f570d2 /vdso/seqlock.h
parente290d33708c5415d6bc3adc53780eb801d2dda06 (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: 374546142
Diffstat (limited to 'vdso/seqlock.h')
0 files changed, 0 insertions, 0 deletions