From bab175ec4b075c8076ba14c762900392533f6ee4 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Mon, 2 Jan 2017 19:18:08 +0000 Subject: Vendor import of clang trunk r290819: https://llvm.org/svn/llvm-project/cfe/trunk@290819 --- test/CodeGen/split-debug-inlining.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/CodeGen/split-debug-inlining.c (limited to 'test/CodeGen/split-debug-inlining.c') diff --git a/test/CodeGen/split-debug-inlining.c b/test/CodeGen/split-debug-inlining.c new file mode 100644 index 000000000000..4a306d43e952 --- /dev/null +++ b/test/CodeGen/split-debug-inlining.c @@ -0,0 +1,7 @@ +// RUN: %clang_cc1 -debug-info-kind=limited -fno-split-dwarf-inlining -S -emit-llvm -o - %s | FileCheck %s +// RUN: %clang_cc1 -debug-info-kind=limited -S -emit-llvm -o - %s | FileCheck --check-prefix=ABSENT %s +void f(void) {} +// Verify that disabling split debug inlining info is propagated to the debug +// info metadata. +// CHECK: !DICompileUnit({{.*}}, splitDebugInlining: false +// ABSENT-NOT: splitDebugInlining -- cgit v1.2.3