1*9880d681SAndroid Build Coastguard Worker; RUN: llvm-as < %s >%t1 2*9880d681SAndroid Build Coastguard Worker; RUN: llvm-lto -list-symbols-only %t1 | FileCheck %s 3*9880d681SAndroid Build Coastguard Worker 4*9880d681SAndroid Build Coastguard Worker; This tests that we don't crash trying to find all uses in a lazily loaded 5*9880d681SAndroid Build Coastguard Worker; module. 6*9880d681SAndroid Build Coastguard Worker; CHECK: foo 7*9880d681SAndroid Build Coastguard Worker 8*9880d681SAndroid Build Coastguard Workertarget triple = "x86_64-unknown-linux-gnu" 9*9880d681SAndroid Build Coastguard Workerdefine linkonce_odr void @foo() { 10*9880d681SAndroid Build Coastguard Worker ret void 11*9880d681SAndroid Build Coastguard Worker} 12