1; RUN: llc < %s -mtriple=x86_64-pc-linux | FileCheck %s
2
3; Test that we can handle .Lexception0 being defined. We used to crash.
4
5; CHECK: .cfi_lsda 3, [[LABEL:.*]]
6; CHECK: [[LABEL]]:
7; CHECK-NEXT: .byte   255                     # @LPStart Encoding = omit
8
9declare void @g()
10
11define void @f() personality i8* bitcast (void ()* @g to i8*) {
12bb0:
13  call void asm ".Lexception0:", ""()
14  invoke void @g()
15          to label %bb2 unwind label %bb1
16bb1:
17  landingpad { i8*, i32 }
18          catch i8* null
19  br label %bb2
20
21bb2:
22  ret void
23}
24