diff options
author | Adrian Prantl <aprantl@apple.com> | 2017-05-11 16:40:48 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2017-05-11 16:40:48 +0000 |
commit | 40b201c326f13a3ec10036e702f015d91e7877e8 (patch) | |
tree | 7e0ccf3cab5c2ea352ae4cded7c6ea7d87d74a50 /clang/test/Modules/DebugInfoSubmoduleImport.c | |
parent | 6faddcbd07ee3957b9e92fc21c375cf801127761 (diff) | |
download | bcm5719-llvm-40b201c326f13a3ec10036e702f015d91e7877e8.tar.gz bcm5719-llvm-40b201c326f13a3ec10036e702f015d91e7877e8.zip |
Add a test that local submodule visibility has no effect on debug info
rdar://problem/27876262
llvm-svn: 302809
Diffstat (limited to 'clang/test/Modules/DebugInfoSubmoduleImport.c')
-rw-r--r-- | clang/test/Modules/DebugInfoSubmoduleImport.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Modules/DebugInfoSubmoduleImport.c b/clang/test/Modules/DebugInfoSubmoduleImport.c index 1b31aada9c6..b608d300d5f 100644 --- a/clang/test/Modules/DebugInfoSubmoduleImport.c +++ b/clang/test/Modules/DebugInfoSubmoduleImport.c @@ -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" |