From eb11fae6d08f479c0799db45860a98af528fa6e7 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 28 Jul 2018 10:51:19 +0000 Subject: Vendor import of llvm trunk r338150: https://llvm.org/svn/llvm-project/llvm/trunk@338150 --- .../thinlto-function-summary-callgraph-relbf.ll | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 test/Bitcode/thinlto-function-summary-callgraph-relbf.ll (limited to 'test/Bitcode/thinlto-function-summary-callgraph-relbf.ll') diff --git a/test/Bitcode/thinlto-function-summary-callgraph-relbf.ll b/test/Bitcode/thinlto-function-summary-callgraph-relbf.ll new file mode 100644 index 000000000000..d84517865a8c --- /dev/null +++ b/test/Bitcode/thinlto-function-summary-callgraph-relbf.ll @@ -0,0 +1,42 @@ +; Test to check the callgraph in summary +; RUN: opt -write-relbf-to-summary -module-summary %s -o %t.o +; RUN: llvm-bcanalyzer -dump %t.o | FileCheck %s +; RUN: llvm-dis -o - %t.o | FileCheck %s --check-prefix=DIS +; Round trip it through llvm-as +; RUN: llvm-dis -o - %t.o | llvm-as -write-relbf-to-summary -o - | llvm-dis -o - | FileCheck %s --check-prefix=DIS + +; CHECK: +; CHECK: