Add a test that local submodule visibility has no effect on debug info

rdar://problem/27876262

llvm-svn: 302809
This commit is contained in:
Adrian Prantl 2017-05-11 16:40:48 +00:00
parent 6faddcbd07
commit 40b201c326
1 changed files with 5 additions and 0 deletions

View File

@ -2,6 +2,11 @@
// RUN: %clang_cc1 -fmodules -fmodule-format=obj -debug-info-kind=limited -dwarf-ext-refs \
// RUN: -fimplicit-module-maps -x c -fmodules-cache-path=%t -I %S/Inputs \
// RUN: %s -emit-llvm -debugger-tuning=lldb -o - | FileCheck %s
//
// RUN: %clang_cc1 -fmodules -fmodule-format=obj -debug-info-kind=limited -dwarf-ext-refs \
// RUN: -fimplicit-module-maps -x c -fmodules-cache-path=%t -I %S/Inputs \
// RUN: -fmodules-local-submodule-visibility \
// RUN: %s -emit-llvm -debugger-tuning=lldb -o - | FileCheck %s
#include "DebugSubmoduleA.h"
#include "DebugSubmoduleB.h"