From b5e3e9dd27dce1b3bb10c4f453cea84a0b35bbca Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Fri, 15 Apr 2011 03:35:57 +0000 Subject: Revert r129518, "Change ELF systems to use CFI for producing the EH tables. This reduces the" It broke several builds. llvm-svn: 129557 --- llvm/test/CodeGen/X86/2007-05-05-Personality.ll | 5 +---- llvm/test/CodeGen/X86/2008-12-12-PrivateEHSymbol.ll | 12 ++++++++++++ llvm/test/CodeGen/X86/aliases.ll | 2 ++ 3 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 llvm/test/CodeGen/X86/2008-12-12-PrivateEHSymbol.ll (limited to 'llvm/test/CodeGen') 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 ; [#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 -- cgit v1.2.3