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