1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -mtriple=x86_64-pc-linux | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker; Test that we don't crashe if the .Lfunc_end0 name is taken. 3*9880d681SAndroid Build Coastguard Worker 4*9880d681SAndroid Build Coastguard Workerdeclare void @g() 5*9880d681SAndroid Build Coastguard Worker 6*9880d681SAndroid Build Coastguard Workerdefine void @f() personality i8* bitcast (void ()* @g to i8*) { 7*9880d681SAndroid Build Coastguard Workerbb0: 8*9880d681SAndroid Build Coastguard Worker call void asm ".Lfunc_end0:", ""() 9*9880d681SAndroid Build Coastguard Worker; CHECK: #APP 10*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: .Lfunc_end0: 11*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: #NO_APP 12*9880d681SAndroid Build Coastguard Worker 13*9880d681SAndroid Build Coastguard Worker invoke void @g() to label %bb2 unwind label %bb1 14*9880d681SAndroid Build Coastguard Workerbb1: 15*9880d681SAndroid Build Coastguard Worker landingpad { i8*, i32 } 16*9880d681SAndroid Build Coastguard Worker catch i8* null 17*9880d681SAndroid Build Coastguard Worker call void @g() 18*9880d681SAndroid Build Coastguard Worker ret void 19*9880d681SAndroid Build Coastguard Workerbb2: 20*9880d681SAndroid Build Coastguard Worker ret void 21*9880d681SAndroid Build Coastguard Worker 22*9880d681SAndroid Build Coastguard Worker; CHECK: [[END:.Lfunc_end.*]]: 23*9880d681SAndroid Build Coastguard Worker; CHECK: .long [[END]]- 24*9880d681SAndroid Build Coastguard Worker} 25