summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2015-06-30 17:39:51 +0000
committerAdrian Prantl <aprantl@apple.com>2015-06-30 17:39:51 +0000
commitc4bb47e301c4d4902f6ddf6d1ec92d2213d23095 (patch)
tree6d58f7c6ebdea7feb9684b636245257be0bdecc7 /clang/test/Modules/Inputs
parent15bcf70cdf843d3070af3e811b7b0412b55e9500 (diff)
downloadbcm5719-llvm-c4bb47e301c4d4902f6ddf6d1ec92d2213d23095.tar.gz
bcm5719-llvm-c4bb47e301c4d4902f6ddf6d1ec92d2213d23095.zip
Debug Info: Emit debug info for @import declarations.
This allows a module-aware debugger such as LLDB to import the currently visible modules before dropping into the expression evaluator. rdar://problem/20965932 llvm-svn: 241084
Diffstat (limited to 'clang/test/Modules/Inputs')
-rw-r--r--clang/test/Modules/Inputs/DebugModule.h1
-rw-r--r--clang/test/Modules/Inputs/module.map5
2 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/DebugModule.h b/clang/test/Modules/Inputs/DebugModule.h
new file mode 100644
index 00000000000..5612b73a8cf
--- /dev/null
+++ b/clang/test/Modules/Inputs/DebugModule.h
@@ -0,0 +1 @@
+@class F;
diff --git a/clang/test/Modules/Inputs/module.map b/clang/test/Modules/Inputs/module.map
index fe762f54a11..b9c8e72cfa9 100644
--- a/clang/test/Modules/Inputs/module.map
+++ b/clang/test/Modules/Inputs/module.map
@@ -327,3 +327,8 @@ module recursive2 {
module crash {
header "crash.h"
}
+
+module DebugModule {
+ header "DebugModule.h"
+}
+
OpenPOWER on IntegriCloud