[WinEH] Use operand bundles to describe call sites
[oota-llvm.git] / test / CodeGen / X86 / win-funclet-cfi.ll
index 95afa75a709a541e973a31969b7ed3c8153b6dce..2151cdc7bb4b3ee361aa2f9e7f33f9fd8cc2c6da 100644 (file)
@@ -10,7 +10,7 @@ entry:
 
 cleanupblock:
   %cleanp = cleanuppad within none []
-  call void @g()
+  call void @g() [ "funclet"(token %cleanp) ]
   cleanupret from %cleanp unwind label %catch.dispatch
 
 catch.dispatch:
@@ -18,7 +18,7 @@ catch.dispatch:
 
 catch:
   %cp = catchpad within %cs1 [i8* null, i32 64, i8* null]
-  call void @g()
+  call void @g() [ "funclet"(token %cp) ]
   catchret from %cp to label %try.cont
 
 try.cont: