summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitb5e3e9dd27dce1b3bb10c4f453cea84a0b35bbca (patch)
tree047682c11afd9ac2a799708d731987045eba34fe /llvm/test/CodeGen/X86/2008-12-12-PrivateEHSymbol.ll
parent12bb05b75bef20d0a787e183ffc501e558080f81 (diff)
downloadbcm5719-llvm-b5e3e9dd27dce1b3bb10c4f453cea84a0b35bbca.tar.gz
bcm5719-llvm-b5e3e9dd27dce1b3bb10c4f453cea84a0b35bbca.zip
Revert r129518, "Change ELF systems to use CFI for producing the EH tables. This reduces the"
It broke several builds. llvm-svn: 129557
Diffstat (limited to 'llvm/test/CodeGen/X86/2008-12-12-PrivateEHSymbol.ll')
-rw-r--r--llvm/test/CodeGen/X86/2008-12-12-PrivateEHSymbol.ll12
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/2008-12-12-PrivateEHSymbol.ll b/llvm/test/CodeGen/X86/2008-12-12-PrivateEHSymbol.ll
new file mode 100644
index 00000000000..e97b63db14d
--- /dev/null
+++ b/llvm/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
+}
OpenPOWER on IntegriCloud