[WinEH] Use operand bundles to describe call sites
[oota-llvm.git] / test / CodeGen / X86 / wineh-exceptionpointer.ll
index 9c1f0aaf3de37fcdaa56b06ec35247a0faf4c07d..f6fd4fe7c525689d4d4599900b7796177d65c046 100644 (file)
@@ -19,7 +19,7 @@ catch.body:
   %catch = catchpad within %cs1 [i32 5]
   %exn = call i8 addrspace(1)* @llvm.eh.exceptionpointer.p1i8(token %catch)
   %cast_exn = bitcast i8 addrspace(1)* %exn to i32 addrspace(1)*
-  call void @g(i32 addrspace(1)* %cast_exn)
+  call void @g(i32 addrspace(1)* %cast_exn) [ "funclet"(token %catch) ]
   catchret from %catch to label %exit
 exit:
   ret void