diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/PowerPC/unwind-dw2.ll | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/unwind-dw2.ll b/test/CodeGen/PowerPC/unwind-dw2.ll new file mode 100644 index 0000000..e58edff --- /dev/null +++ b/test/CodeGen/PowerPC/unwind-dw2.ll @@ -0,0 +1,15 @@ +; RUN: llc < %s +target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-f128:128:128-v128:128:128-n32:64" +target triple = "powerpc64-unknown-linux-gnu" + +; Function Attrs: nounwind +define void @foo() #0 { +entry: + call void @llvm.eh.unwind.init() + ret void +} + +; Function Attrs: nounwind +declare void @llvm.eh.unwind.init() #0 + +attributes #0 = { nounwind } |