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

Adrian Prantl via cfe-commits cfe-commits at lists.llvm.org
Thu May 11 09:40:48 PDT 2017


Author: adrian
Date: Thu May 11 11:40:48 2017
New Revision: 302809

URL: http://llvm.org/viewvc/llvm-project?rev=302809&view=rev
Log:
Add a test that local submodule visibility has no effect on debug info

rdar://problem/27876262

Modified:
    cfe/trunk/test/Modules/DebugInfoSubmoduleImport.c

Modified: cfe/trunk/test/Modules/DebugInfoSubmoduleImport.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Modules/DebugInfoSubmoduleImport.c?rev=302809&r1=302808&r2=302809&view=diff
==============================================================================
--- cfe/trunk/test/Modules/DebugInfoSubmoduleImport.c (original)
+++ cfe/trunk/test/Modules/DebugInfoSubmoduleImport.c Thu May 11 11:40:48 2017
@@ -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"
 




More information about the cfe-commits mailing list