summaryrefslogtreecommitdiffstats
path: root/llvm/test/LTO/X86/pr25919.ll
blob: b7fe0c636a1926e662b6d6d47479050c9dd3b63a (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llvm-as < %s >%t1
; RUN: llvm-lto -list-symbols-only %t1 | FileCheck %s

; This tests that we don't crash trying to find all uses in a lazily loaded
; module.
; CHECK: foo

target triple = "x86_64-unknown-linux-gnu"
define linkonce_odr void @foo() {
  ret void
}
OpenPOWER on IntegriCloud