From d0c165bf2447ec04c38450a2df5d3cd9a6f47822 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337076 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/FunctionImport/hotness_based_import2.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Transforms/FunctionImport/hotness_based_import2.ll b/test/Transforms/FunctionImport/hotness_based_import2.ll index 50de33199f6..6189c84ac93 100644 --- a/test/Transforms/FunctionImport/hotness_based_import2.ll +++ b/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.50.1