summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/proc
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@google.com>2020-03-09 11:52:32 -0700
committergVisor bot <gvisor-bot@google.com>2020-03-09 11:53:28 -0700
commit2446161b3faa352bf28dc83e338f10967f0224c2 (patch)
tree7ff032459dee78b96af088bd396efd129738dcaf /pkg/sentry/fsimpl/proc
parentddfc7239be94fa9711df877a66a9718aabff8b96 (diff)
perf/signal: rewrite code in assembly to avoid compiler optimizations
Without this change, the assembly code of this test compiled without optimizations: mov -0x150(%rbp),%rax movl $0x77777777,(%rax) lea -0x128(%rbp),%rax with optimizations: movl $0x77777777,0x0 This code doesn't work properly, because the test changes rax in the segv handler. PiperOrigin-RevId: 299896117
Diffstat (limited to 'pkg/sentry/fsimpl/proc')
0 files changed, 0 insertions, 0 deletions