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