summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2007-05-05-Personality.ll
diff options
context:
space:
mode:
authorYaron Keren <yaron.keren@gmail.com>2014-03-31 17:34:15 +0000
committerYaron Keren <yaron.keren@gmail.com>2014-03-31 17:34:15 +0000
commitb6f3f9ba45d33bd52ececdda05f018c621fa9c6a (patch)
tree49d4848f89711c9d5b4ebc4ed788f21539aaacda /test/CodeGen/X86/2007-05-05-Personality.ll
parent3f784d82ffa3710c3f41a07cc3635e4b2c86557b (diff)
downloadllvm-b6f3f9ba45d33bd52ececdda05f018c621fa9c6a.tar.gz
llvm-b6f3f9ba45d33bd52ececdda05f018c621fa9c6a.tar.bz2
llvm-b6f3f9ba45d33bd52ececdda05f018c621fa9c6a.tar.xz
Two updated tests for MinGW 32 and 64 exception handling code generation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205227 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2007-05-05-Personality.ll')
-rw-r--r--test/CodeGen/X86/2007-05-05-Personality.ll13
1 files changed, 9 insertions, 4 deletions
diff --git a/test/CodeGen/X86/2007-05-05-Personality.ll b/test/CodeGen/X86/2007-05-05-Personality.ll
index 7d21b71ac3..5b8fe72b5d 100644
--- a/test/CodeGen/X86/2007-05-05-Personality.ll
+++ b/test/CodeGen/X86/2007-05-05-Personality.ll
@@ -1,7 +1,12 @@
-; RUN: llc < %s -mtriple=i686-pc-linux-gnu -o - | FileCheck %s
-
-; CHECK: .cfi_personality 0, __gnat_eh_personality
-; CHECK: .cfi_lsda 0, .Lexception0
+; RUN: llc < %s -mtriple=i686-pc-linux-gnu -o - | FileCheck %s --check-prefix=LIN
+; RUN: llc < %s -mtriple=x86_64-pc-windows-gnu -o - | FileCheck %s --check-prefix=LIN
+; RUN: llc < %s -mtriple=i386-pc-mingw32 -o - | FileCheck %s --check-prefix=WIN
+; RUN: llc < %s -mtriple=i686-pc-windows-gnu -o - | FileCheck %s --check-prefix=WIN
+
+; LIN: .cfi_personality 0, __gnat_eh_personality
+; LIN: .cfi_lsda 0, .Lexception0
+; WIN: .cfi_personality 0, ___gnat_eh_personality
+; WIN: .cfi_lsda 0, Lexception0
@error = external global i8