diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-05-18 18:08:00 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-05-18 18:13:36 -0700 |
commit | f2d6c72b66a6dae9c71ace49a34bfbdb08b2306e (patch) | |
tree | 667c580fee840f879d4a55ad783f1be9c4f570d2 /pkg/sentry/kernel/task_cgroup.go | |
parent | e290d33708c5415d6bc3adc53780eb801d2dda06 (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 'pkg/sentry/kernel/task_cgroup.go')
0 files changed, 0 insertions, 0 deletions