[llvm-commits] CVS: llvm/test/Regression/CodeGen/X86/2004-02-08-UnwindSupport.llx

Chris Lattner lattner at cs.uiuc.edu
Sun Feb 8 13:42:02 PST 2004


Changes in directory llvm/test/Regression/CodeGen/X86:

2004-02-08-UnwindSupport.llx added (r1.1)

---
Log message:

New testcase, code generators should support invoke/unwind


---
Diffs of the changes:  (+13 -0)

Index: llvm/test/Regression/CodeGen/X86/2004-02-08-UnwindSupport.llx
diff -c /dev/null llvm/test/Regression/CodeGen/X86/2004-02-08-UnwindSupport.llx:1.1
*** /dev/null	Sun Feb  8 13:41:09 2004
--- llvm/test/Regression/CodeGen/X86/2004-02-08-UnwindSupport.llx	Sun Feb  8 13:40:58 2004
***************
*** 0 ****
--- 1,13 ----
+ ; RUN: llvm-as < %s | lli -enable-correct-eh-support
+ 
+ int %test() {
+   unwind
+ }
+ 
+ int %main() {
+ 	%X = invoke int %test() to label %cont except label %EH
+ cont:
+ 	ret int 1
+ EH:
+ 	ret int 0
+ }





More information about the llvm-commits mailing list