llvm/test/Bitcode/anon-functions.ll
Teresa Johnson ef4e0adfe7 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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249947 91177308-0d34-0410-b5e6-96231b3b80d8
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
}