diff options
| author | Adrian Prantl <aprantl@apple.com> | 2015-09-08 20:41:52 +0000 |
|---|---|---|
| committer | Adrian Prantl <aprantl@apple.com> | 2015-09-08 20:41:52 +0000 |
| commit | 748a6cd1ac39772d8e2599ebf38d0a964e6516c5 (patch) | |
| tree | 72e1f4dea5d123722a7fba78e35d08b1686e9160 /clang/test/Modules/debug-info-moduleimport.m | |
| parent | 4b82de2e473b08f1dba951b042ca7f1f9c427763 (diff) | |
| download | bcm5719-llvm-748a6cd1ac39772d8e2599ebf38d0a964e6516c5.tar.gz bcm5719-llvm-748a6cd1ac39772d8e2599ebf38d0a964e6516c5.zip | |
Module Debugging: Emit debug type information into clang ObjC modules.
When -fmodule-format is set to "obj", emit debug info for all types
declared in a module or referenced by a declaration into the module's
object file container.
This patch adds support for Objective-C types and methods.
llvm-svn: 247068
Diffstat (limited to 'clang/test/Modules/debug-info-moduleimport.m')
| -rw-r--r-- | clang/test/Modules/debug-info-moduleimport.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Modules/debug-info-moduleimport.m b/clang/test/Modules/debug-info-moduleimport.m index 1f12b0270be..ce225797191 100644 --- a/clang/test/Modules/debug-info-moduleimport.m +++ b/clang/test/Modules/debug-info-moduleimport.m @@ -2,6 +2,6 @@ // RUN: %clang_cc1 -g -fmodules -DGREETING="Hello World" -UNDEBUG -fimplicit-module-maps -fmodules-cache-path=%t %s -I %S/Inputs -isysroot /tmp/.. -I %t -emit-llvm -o - | FileCheck %s // CHECK: ![[CU:.*]] = distinct !DICompileUnit -@import DebugModule; +@import DebugObjC; // CHECK: !DIImportedEntity(tag: DW_TAG_imported_declaration, scope: ![[CU]], entity: ![[MODULE:.*]], line: 5) -// CHECK: ![[MODULE]] = !DIModule(scope: null, name: "DebugModule", configMacros: "\22-DGREETING=Hello World\22 \22-UNDEBUG\22", includePath: "{{.*}}test{{.*}}Modules{{.*}}Inputs", isysroot: "/tmp/..") +// CHECK: ![[MODULE]] = !DIModule(scope: null, name: "DebugObjC", configMacros: "\22-DGREETING=Hello World\22 \22-UNDEBUG\22", includePath: "{{.*}}test{{.*}}Modules{{.*}}Inputs", isysroot: "/tmp/..") |

