summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2014-04-18 14:54:41 +0000
committerTim Northover <tnorthover@apple.com>2014-04-18 14:54:41 +0000
commit9cfd368302666f38a317df64c68e33abdd6ecdee (patch)
tree3337f9762b872971ea760df0ed15d0192d27bbaf /test
parent1d5a2ad8a63c2a45ab12fb76a7381fe5dfe187ac (diff)
downloadllvm-9cfd368302666f38a317df64c68e33abdd6ecdee.tar.gz
llvm-9cfd368302666f38a317df64c68e33abdd6ecdee.tar.bz2
llvm-9cfd368302666f38a317df64c68e33abdd6ecdee.tar.xz
ARM64: don't emit .subsections_via_symbols on ELF.
Part of PR19455. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206610 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/ARM64/subsections.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGen/ARM64/subsections.ll b/test/CodeGen/ARM64/subsections.ll
new file mode 100644
index 0000000000..316e7c3a8e
--- /dev/null
+++ b/test/CodeGen/ARM64/subsections.ll
@@ -0,0 +1,5 @@
+; RUN: llc -mtriple=arm64-apple-ios7.0 -o - %s | FileCheck %s --check-prefix=CHECK-MACHO
+; RUN: llc -mtriple=arm64-linux-gnu -o - %s | FileCheck %s --check-prefix=CHECK-ELF
+
+; CHECK-MACHO: .subsections_via_symbols
+; CHECK-ELF-NOT: .subsections_via_symbols \ No newline at end of file