]> granicus.if.org Git - clang/commitdiff
Add a test that local submodule visibility has no effect on debug info
authorAdrian Prantl <aprantl@apple.com>
Thu, 11 May 2017 16:40:48 +0000 (16:40 +0000)
committerAdrian Prantl <aprantl@apple.com>
Thu, 11 May 2017 16:40:48 +0000 (16:40 +0000)
rdar://problem/27876262

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@302809 91177308-0d34-0410-b5e6-96231b3b80d8

test/Modules/DebugInfoSubmoduleImport.c

index 1b31aada9c6a205bd6a81da25f5d5b961dcd7034..b608d300d5febb94e6e838e98a3db2cf17979bfb 100644 (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"