brintos

brintos / llvm-project-archived public Read only

0
0
Text · 511 B · aa3f775 Raw
24 lines · plain
1; RUN: llc < %s -mtriple=x86_64-pc-linux | FileCheck %s2 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 = omit8 9declare void @g()10 11define void @f() personality ptr @g {12bb0:13  call void asm ".Lexception0:", ""()14  invoke void @g()15          to label %bb2 unwind label %bb116bb1:17  landingpad { ptr, i32 }18          catch ptr null19  br label %bb220 21bb2:22  ret void23}24