view test/Linker/distinct-cycles.ll @ 108:1881386f7909

use llvm.setjmp and llvm.longjmp
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Mon, 01 Feb 2016 02:57:01 +0900
parents 60c9769439b8
children
line wrap: on
line source

; RUN: llvm-link -o - -S %s | FileCheck %s
; Crasher for PR22456: MapMetadata() should resolve all cycles.

; CHECK: !named = !{!0}
!named = !{!0}

; CHECK: !0 = distinct !{!1}
!0 = distinct !{!1}

; CHECK-NEXT: !1 = !{!2}
; CHECK-NEXT: !2 = !{!1}
!1 = !{!2}
!2 = !{!1}