From 0feaa81d50e15d06467146a3152848462a116104 Mon Sep 17 00:00:00 2001 From: Teresa Johnson Date: Sun, 16 Jul 2017 00:01:16 +0000 Subject: [PATCH] Attempt 2 to debug bot failures Modify checks from r308114 even more, to see if I can narrow down why some bots are still failing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308116 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../FunctionImport/funcimport_resolved.ll | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/test/Transforms/FunctionImport/funcimport_resolved.ll b/test/Transforms/FunctionImport/funcimport_resolved.ll index 2df8a751b4a..e2a81804f84 100644 --- a/test/Transforms/FunctionImport/funcimport_resolved.ll +++ b/test/Transforms/FunctionImport/funcimport_resolved.ll @@ -19,18 +19,20 @@ ; First do a sanity check that all callees are imported with the default ; instruction limit ; RUN: llvm-lto2 run %t.bc %t2.bc %t3.bc -o %t4 -r=%t.bc,_main,pl -r=%t.bc,_linkonceodrfunc,l -r=%t.bc,_foo,l -r=%t2.bc,_foo,pl -r=%t2.bc,_linkonceodrfunc,pl -r=%t2.bc,_linkonceodrfunc2,pl -r=%t3.bc,_linkonceodrfunc,l -thinlto-threads=1 -debug-only=function-import 2>&1 | FileCheck %s --check-prefix=INSTLIMDEFAULT -; INSTLIMDEFAULT-DAG: Is importing function {{.*}} -; INSTLIMDEFAULT-DAG: Is importing function {{.*}} -; INSTLIMDEFAULT-DAG: Is importing function {{.*}} -; INSTLIMDEFAULT-DAG: Is importing function {{.*}} +; INSTLIMDEFAULT: 4 functions imported from {{.*}}tmp2.bc +; INSTLIMDEFAULT-DAG: importing function {{.*}} +; INSTLIMDEFAULT-DAG: importing function {{.*}} +; INSTLIMDEFAULT-DAG: importing function {{.*}} +; INSTLIMDEFAULT-DAG: importing function {{.*}} ; Now run with the lower threshold that will only allow linkonceodrfunc to be ; imported from funcimport_resolved1.ll the second time it is encountered. ; RUN: llvm-lto2 run %t.bc %t2.bc %t3.bc -o %t4 -r=%t.bc,_main,pl -r=%t.bc,_linkonceodrfunc,l -r=%t.bc,_foo,l -r=%t2.bc,_foo,pl -r=%t2.bc,_linkonceodrfunc,pl -r=%t2.bc,_linkonceodrfunc2,pl -r=%t3.bc,_linkonceodrfunc,l -thinlto-threads=1 -debug-only=function-import -import-instr-limit=8 2>&1 | FileCheck %s --check-prefix=INSTLIM8 -; INSTLIM8-DAG: Is importing function {{.*}} -; INSTLIM8-DAG: Is importing function {{.*}} -; INSTLIM8-DAG: Not importing function {{.*}} -; INSTLIM8-DAG: Is importing function {{.*}} +; INSTLIM8: 3 functions imported from {{.*}}tmp2.bc +; INSTLIM8-DAG: importing function {{.*}} +; INSTLIM8-DAG: importing function {{.*}} +; INSTLIM8-DAG: importing function {{.*}} +; INSTLIM8-DAG: importing function {{.*}} target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.11.0" -- 2.49.0