Index: test/NaCl/ARM/bx-sandboxing.ll |
diff --git a/test/NaCl/ARM/bx-sandboxing.ll b/test/NaCl/ARM/bx-sandboxing.ll |
new file mode 100644 |
index 0000000000000000000000000000000000000000..facc5b7a725f70cb61bea9aabd5e6a3b0d23b1ff |
--- /dev/null |
+++ b/test/NaCl/ARM/bx-sandboxing.ll |
@@ -0,0 +1,10 @@ |
+; RUN: pnacl-llc -mtriple=armv7-unknown-nacl -filetype=obj %s -o - \ |
+; RUN: | llvm-objdump -disassemble -triple armv7 - | FileCheck %s |
+ |
+define i32 @foo() nounwind { |
+entry: |
+ ret i32 42 |
+; CHECK: bic lr, lr, #3221225487 |
+; CHECK-NEXT: bx lr |
+} |
+ |