Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(377)

Side by Side Diff: test/MC/X86/nacl-autosandbox/scratch-invalidate.s

Issue 1274223003: Auto-sandboxing: Switch to automatic scratch register invalidation (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // RUN: not llvm-mc -filetype asm -triple x86_64-unknown-nacl %s 2>&1 | FileChec k %s
2
3 .scratch %ecx
4 mov (%rax, %rbx), %rax
5 mov %eax, %ecx
6 ret
7 // Checking both stdout and stderr is unreliable because of the ordering, so
8 // check that the error message refers to the ret and not the mov
9 // CHECK: No scratch registers
10 // CHECK-NOT: mov
11 // CHECK: ret
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698