summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
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
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')
-rw-r--r--llvm/test/CodeGen/X86/2007-05-05-Personality.ll5
-rw-r--r--llvm/test/CodeGen/X86/2008-12-12-PrivateEHSymbol.ll12
-rw-r--r--llvm/test/CodeGen/X86/aliases.ll2
3 files changed, 15 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/X86/2007-05-05-Personality.ll b/llvm/test/CodeGen/X86/2007-05-05-Personality.ll
index e69b511f4c5..a9b17d3b8f3 100644
--- a/llvm/test/CodeGen/X86/2007-05-05-Personality.ll
+++ b/llvm/test/CodeGen/X86/2007-05-05-Personality.ll
@@ -1,7 +1,4 @@
-; RUN: llc < %s -mtriple=i686-pc-linux-gnu -o - | FileCheck %s
-
-; CHECK: .cfi_lsda 0, .Lexception0
-; CHECK: .cfi_personality 0, __gnat_eh_personality
+; RUN: llc < %s -mtriple=i686-pc-linux-gnu -o - | grep zPL
@error = external global i8 ; <i8*> [#uses=2]
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
+}
diff --git a/llvm/test/CodeGen/X86/aliases.ll b/llvm/test/CodeGen/X86/aliases.ll
index f92027998a4..3ed3bd67cef 100644
--- a/llvm/test/CodeGen/X86/aliases.ll
+++ b/llvm/test/CodeGen/X86/aliases.ll
@@ -1,4 +1,6 @@
; RUN: llc < %s -mtriple=i686-pc-linux-gnu -asm-verbose=false -o %t
+; RUN: grep { = } %t | count 16
+; RUN: grep set %t | count 18
; RUN: grep globl %t | count 6
; RUN: grep weak %t | count 1
; RUN: grep hidden %t | count 1
OpenPOWER on IntegriCloud