summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/section.ll
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2009-06-02 17:52:33 +0000
committerEd Schouten <ed@FreeBSD.org>2009-06-02 17:52:33 +0000
commit009b1c42aa6266385f2c37e227516b24077e6dd7 (patch)
tree64ba909838c23261cace781ece27d106134ea451 /test/CodeGen/ARM/section.ll
downloadsrc-test-009b1c42aa6266385f2c37e227516b24077e6dd7.tar.gz
src-test-009b1c42aa6266385f2c37e227516b24077e6dd7.zip
Notes
Diffstat (limited to 'test/CodeGen/ARM/section.ll')
-rw-r--r--test/CodeGen/ARM/section.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/section.ll b/test/CodeGen/ARM/section.ll
new file mode 100644
index 0000000000000..aa658451675bc
--- /dev/null
+++ b/test/CodeGen/ARM/section.ll
@@ -0,0 +1,7 @@
+; RUN: llvm-as < %s | llc -mtriple=arm-linux | \
+; RUN: grep {__DTOR_END__:}
+; RUN: llvm-as < %s | llc -mtriple=arm-linux | \
+; RUN: grep {\\.section.\\.dtors,"aw",.progbits}
+
+@__DTOR_END__ = internal global [1 x i32] zeroinitializer, section ".dtors" ; <[1 x i32]*> [#uses=0]
+