1*9880d681SAndroid Build Coastguard Worker; Check that user-defined runtime library function __addsf3vfp is not removed 2*9880d681SAndroid Build Coastguard Worker; 3*9880d681SAndroid Build Coastguard Worker; RUN: llvm-as <%s >%t1 4*9880d681SAndroid Build Coastguard Worker; RUN: llvm-lto -o %t2 %t1 -mcpu arm1176jz-s 5*9880d681SAndroid Build Coastguard Worker; RUN: llvm-nm %t2 | FileCheck %s 6*9880d681SAndroid Build Coastguard Worker 7*9880d681SAndroid Build Coastguard Workertarget datalayout = "e-m:o-p:32:32-f64:32:64-v64:32:64-v128:32:128-a:0:32-n32-S32" 8*9880d681SAndroid Build Coastguard Workertarget triple = "thumbv7-apple-ios" 9*9880d681SAndroid Build Coastguard Worker 10*9880d681SAndroid Build Coastguard Worker; CHECK: ___addsf3vfp 11*9880d681SAndroid Build Coastguard Worker 12*9880d681SAndroid Build Coastguard Workerdefine float @__addsf3vfp(float %a, float %b) #0 { 13*9880d681SAndroid Build Coastguard Workerentry: 14*9880d681SAndroid Build Coastguard Worker %add = fadd float %a, %b 15*9880d681SAndroid Build Coastguard Worker ret float %add 16*9880d681SAndroid Build Coastguard Worker} 17*9880d681SAndroid Build Coastguard Worker 18*9880d681SAndroid Build Coastguard Workerattributes #0 = { "target-cpu"="arm1176jzf-s"} 19