You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.225
Former-commit-id: 10196d987d5fc5564b9d3b33b1fdf13190f4d0b5
This commit is contained in:
parent
32d52ae4ca
commit
f32dbaf0b2
26
external/llvm/test/CodeGen/WinEH/wineh-asm.ll
vendored
Normal file
26
external/llvm/test/CodeGen/WinEH/wineh-asm.ll
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
; RUN: opt -winehprepare < %s
|
||||
|
||||
target triple = "x86_64-pc-windows-msvc"
|
||||
|
||||
define void @test1() personality i32 (...)* @__CxxFrameHandler3 {
|
||||
entry:
|
||||
invoke void @f(i32 1)
|
||||
to label %exit unwind label %cleanup
|
||||
|
||||
cleanup:
|
||||
%cp = cleanuppad within none []
|
||||
call void asm sideeffect "", ""()
|
||||
cleanupret from %cp unwind to caller
|
||||
|
||||
exit:
|
||||
ret void
|
||||
}
|
||||
|
||||
; CHECK-LABEL: define void @test1(
|
||||
; CHECK: %[[cp:.*]] = cleanuppad within none []
|
||||
; CHECK-NEXT: call void asm sideeffect "", ""()
|
||||
; CHECK-NEXT: cleanupret from %[[cp]] unwind to caller
|
||||
|
||||
declare void @f(i32)
|
||||
|
||||
declare i32 @__CxxFrameHandler3(...)
|
Reference in New Issue
Block a user