64ac736ec5
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
18 lines
476 B
LLVM
18 lines
476 B
LLVM
; RUN: opt -mtriple=i686-unknown-windows-msvc -S -x86-winehstate < %s | FileCheck %s
|
|
|
|
$f = comdat any
|
|
|
|
define void @f() comdat personality i32 (...)* @__CxxFrameHandler3 {
|
|
invoke void @g() to label %return unwind label %unwind
|
|
return:
|
|
ret void
|
|
unwind:
|
|
%pad = cleanuppad within none []
|
|
cleanupret from %pad unwind to caller
|
|
}
|
|
|
|
declare void @g()
|
|
declare i32 @__CxxFrameHandler3(...)
|
|
|
|
; CHECK: define internal i32 @"__ehhandler$f"(i8*, i8*, i8*, i8*){{ .+}} comdat($f) {
|