summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2008-12-12-PrivateEHSymbol.ll
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-04-15 03:35:57 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-04-15 03:35:57 +0000
commitbcb8c6d09ee426e0f774e3412912f6ae9e5f78dd (patch)
tree19eda0282d1d201b4a7ae6dc5b2760d73a13eaf3 /test/CodeGen/X86/2008-12-12-PrivateEHSymbol.ll
parent9eec66e604f09ed9779bc438d0dc4fa9d24db44c (diff)
downloadllvm-bcb8c6d09ee426e0f774e3412912f6ae9e5f78dd.tar.gz
llvm-bcb8c6d09ee426e0f774e3412912f6ae9e5f78dd.tar.bz2
llvm-bcb8c6d09ee426e0f774e3412912f6ae9e5f78dd.tar.xz
Revert r129518, "Change ELF systems to use CFI for producing the EH tables. This reduces the"
It broke several builds. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129557 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2008-12-12-PrivateEHSymbol.ll')
-rw-r--r--test/CodeGen/X86/2008-12-12-PrivateEHSymbol.ll12
1 files changed, 12 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..e97b63db14
--- /dev/null
+++ b/test/CodeGen/X86/2008-12-12-PrivateEHSymbol.ll
@@ -0,0 +1,12 @@
+; RUN: llc < %s -march=x86-64 -mtriple=x86_64-unknown-linux-gnu | grep ^.L_Z1fv.eh
+; RUN: llc < %s -march=x86 -mtriple=i686-unknown-linux-gnu | grep ^.L_Z1fv.eh
+; 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
+}