Files
linux-packaging-mono/external/llvm/test/CodeGen/X86/wineh-no-ehpads.ll
Xamarin Public Jenkins (auto-signing) f32dbaf0b2 Imported Upstream version 5.18.0.225
Former-commit-id: 10196d987d5fc5564b9d3b33b1fdf13190f4d0b5
2018-12-21 19:01:49 +00:00

21 lines
427 B
LLVM

; RUN: llc < %s | FileCheck %s
target triple = "x86_64-pc-windows-msvc"
declare void @g()
declare i32 @__CxxFrameHandler3(...)
define void @personality_no_ehpad() personality i32 (...)* @__CxxFrameHandler3 {
call void @g()
ret void
}
; CHECK-LABEL: personality_no_ehpad: # @personality_no_ehpad
; CHECK-NOT: movq $-2,
; CHECK: callq g
; CHECK: nop
; CHECK: retq
; Shouldn't have any LSDA either.
; CHECK-NOT: cppxdata