mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-24 09:29:42 +00:00
339591e0a9
Should fix PR22305. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226969 91177308-0d34-0410-b5e6-96231b3b80d8
22 lines
543 B
LLVM
22 lines
543 B
LLVM
; RUN: llc -O0 -mtriple=x86_64-windows-msvc < %s | FileCheck %s
|
|
|
|
declare void @g()
|
|
define void @f() {
|
|
invoke void @g() to label %return unwind label %lpad
|
|
|
|
return:
|
|
ret void
|
|
|
|
lpad:
|
|
%ehptrs = landingpad {i8*, i32} personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*)
|
|
filter [0 x i8*] zeroinitializer
|
|
call void @__cxa_call_unexpected(i8* null)
|
|
unreachable
|
|
}
|
|
declare i32 @__C_specific_handler(...)
|
|
declare void @__cxa_call_unexpected(i8*)
|
|
|
|
; We don't emit entries for filters.
|
|
; CHECK: .seh_handlerdata
|
|
; CHECK: .long 0
|