1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test/Bitcode/anon-functions.ll
Teresa Johnson 959a4588b8 Fix PR25101 - Handle anonymous functions without VST entries
Summary:
The change to use the VST function entries for lazy deserialization did
not handle the case of anonymous functions without aliases. In that case
we must fall back to scanning the function blocks as there is no VST
entry.

Reviewers: dexonsmith, joker.eph, davidxl

Subscribers: tstellarAMD, llvm-commits

Differential Revision: http://reviews.llvm.org/D13596

llvm-svn: 249947
2015-10-10 14:18:36 +00:00

19 lines
234 B
LLVM

; RUN: llvm-as < %s | llvm-dis | FileCheck %s
; PR25101
; CHECK: define void @0()
define void @0() {
ret void
}
; CHECK: define void @f()
define void @f() {
ret void
}
; CHECK: define void @1()
define void @1() {
ret void
}