summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-04-15 21:06:27 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-04-15 21:06:27 +0000
commit27c4ba16ae63b86c29e46f88b8d428e3fe71a181 (patch)
tree93844d267d0a23c3d1b916910583028fdd05f394
parent0bf3dfbef60e36827df9c7e12b62503f1e345cd0 (diff)
downloadllvm-27c4ba16ae63b86c29e46f88b8d428e3fe71a181.tar.gz
llvm-27c4ba16ae63b86c29e46f88b8d428e3fe71a181.tar.bz2
llvm-27c4ba16ae63b86c29e46f88b8d428e3fe71a181.tar.xz
Add this test back for Darwin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129607 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/X86/2008-12-12-PrivateEHSymbol.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2008-12-12-PrivateEHSymbol.ll b/test/CodeGen/X86/2008-12-12-PrivateEHSymbol.ll
new file mode 100644
index 0000000000..0717c207da
--- /dev/null
+++ b/test/CodeGen/X86/2008-12-12-PrivateEHSymbol.ll
@@ -0,0 +1,10 @@
+; RUN: llc < %s -march=x86-64 -mtriple=x86_64-apple-darwin9 | grep ^__Z1fv.eh
+; RUN: llc < %s -march=x86 -mtriple=i386-apple-darwin9 | grep ^__Z1fv.eh
+
+define void @_Z1fv() {
+entry:
+ br label %return
+
+return:
+ ret void
+}