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

Unified Diff: test/MC/ARM/nacl-autosandbox/call.s

Issue 1269273002: Auto sandboxing: control flow expansions for ARM (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: rebased onto plumbing CL and added comment 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/branch.s ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/MC/ARM/nacl-autosandbox/call.s
diff --git a/test/MC/ARM/nacl-autosandbox/call.s b/test/MC/ARM/nacl-autosandbox/call.s
new file mode 100644
index 0000000000000000000000000000000000000000..c43abed308eaeda278fcd94665480a2155dfe84d
--- /dev/null
+++ b/test/MC/ARM/nacl-autosandbox/call.s
@@ -0,0 +1,31 @@
+// RUN: llvm-mc -filetype asm -triple armv7-unknown-nacl %s | FileCheck %s
+
+foo:
+
+ bl foo
+//CHECK: bl foo
+
+ blx r0
+//CHECK: .bundle_lock align_to_end
+//CHECK-NEXT: bic r0, r0, #-1073741809
+//CHECK-NEXT: blx r0
+//CHECK-NEXT: .bundle_unlock
+
+ blx sp
+//CHECK: blx sp
+
+ blx pc
+//CHECK: blx pc
+
+
+ blne foo
+//CHECK: blne foo
+
+ blxne f0
+//CHECK: blx f0
+
+ blxne sp
+//CHECK: blxne sp
+
+ blxne pc
+//CHECK: blxne pc
« no previous file with comments | « test/MC/ARM/nacl-autosandbox/branch.s ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698