1 ; RUN: llc -filetype=obj %s -o %t.o
2 ; RUN: llvm-nm %t.o | FileCheck %s
4 ; Test that it doesn't crash (and produces an object file).
5 ; This use to pass a symbol with a null name to code that expected a valid
8 ; CHECK: U __CxxFrameHandler3
15 target triple = "x86_64-pc-windows-msvc18.0.0"
16 define void @f(i32 %x) personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {
18 to label %invoke.cont unwind label %lpad
22 landingpad { i8*, i32 }
28 declare i32 @__CxxFrameHandler3(...)
29 declare void @g(i32 %x)