forked from OSchip/llvm-project
21 lines
427 B
LLVM
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
|