• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
4declare void @g()
5
6define void @f() personality i8* bitcast (void ()* @g to i8*) {
7bb0:
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
14bb1:
15  landingpad { i8*, i32 }
16          catch i8* null
17  call void @g()
18  ret void
19bb2:
20  ret void
21
22; CHECK: [[END:.Lfunc_end.*]]:
23; CHECK: .uleb128	[[END]]-
24}
25