From 05d28c8002c87ce852ce300dd56a3d645c2341ad Mon Sep 17 00:00:00 2001 From: Teresa Johnson Date: Sat, 14 Jul 2018 00:08:48 +0000 Subject: [PATCH] [ThinLTO] Add debug output to test Add -debug-only=function-import to get more information for debugging reverse-iteration bot failure from r337050. llvm-svn: 337076 --- llvm/test/Transforms/FunctionImport/hotness_based_import2.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/test/Transforms/FunctionImport/hotness_based_import2.ll b/llvm/test/Transforms/FunctionImport/hotness_based_import2.ll index 50de331..6189c84 100644 --- a/llvm/test/Transforms/FunctionImport/hotness_based_import2.ll +++ b/llvm/test/Transforms/FunctionImport/hotness_based_import2.ll @@ -9,7 +9,7 @@ ; with threshold decayed by default 0.7 factor. Test ensures that when we ; encounter it again from hot path, we re-enqueue with higher non-decayed ; threshold which will allow it to be imported. -; RUN: opt -function-import -summary-file %t3.thinlto.bc %t.bc -import-instr-limit=10 -import-hot-multiplier=1.0 -import-cold-multiplier=1.0 -S | FileCheck %s --check-prefix=CHECK +; RUN: opt -function-import -summary-file %t3.thinlto.bc %t.bc -import-instr-limit=10 -import-hot-multiplier=1.0 -import-cold-multiplier=1.0 -S -debug-only=function-import | FileCheck %s --check-prefix=CHECK ; CHECK-DAG: define available_externally void @hot() ; CHECK-DAG: define available_externally void @calledFromHot() -- 2.7.4