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

Unified Diff: test/MC/ARM/nacl-autosandbox/scratch-invalid-pc.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: add flag to tests 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/MC/ARM/nacl-autosandbox/scratch-invalid.s ('k') | test/MC/X86/nacl-autosandbox/scratch-2nd-register.s » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/MC/ARM/nacl-autosandbox/scratch-invalid-pc.s
diff --git a/test/MC/ARM/nacl-autosandbox/scratch-invalid-pc.s b/test/MC/ARM/nacl-autosandbox/scratch-invalid-pc.s
new file mode 100644
index 0000000000000000000000000000000000000000..158d96d84692c7418f2b79ce11f2a5aac59c6d70
--- /dev/null
+++ b/test/MC/ARM/nacl-autosandbox/scratch-invalid-pc.s
@@ -0,0 +1,4 @@
+// RUN: not llvm-mc -nacl-enable-auto-sandboxing -filetype asm -triple armv7-unknown-nacl %s 2>&1 | FileCheck %s
+
+.scratch pc
+// CHECK: Register can't be used as a scratch register
« no previous file with comments | « test/MC/ARM/nacl-autosandbox/scratch-invalid.s ('k') | test/MC/X86/nacl-autosandbox/scratch-2nd-register.s » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698