From b915e9e0fc85ba6f398b3fab0db6a81a8913af94 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Mon, 2 Jan 2017 19:17:04 +0000 Subject: Vendor import of llvm trunk r290819: https://llvm.org/svn/llvm-project/llvm/trunk@290819 --- test/Bitcode/thinlto-empty-summary-section.ll | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/Bitcode/thinlto-empty-summary-section.ll (limited to 'test/Bitcode/thinlto-empty-summary-section.ll') diff --git a/test/Bitcode/thinlto-empty-summary-section.ll b/test/Bitcode/thinlto-empty-summary-section.ll new file mode 100644 index 000000000000..97086611ff4b --- /dev/null +++ b/test/Bitcode/thinlto-empty-summary-section.ll @@ -0,0 +1,7 @@ +; Ensure we get a summary block even when the file is empty. +; RUN: opt -module-summary %s -o %t.o +; RUN: llvm-bcanalyzer -dump %t.o | FileCheck %s + +; CHECK: -- cgit v1.3