blob: 596597a18d4ab59594e917e976b2825823f1f847 [file] [log] [blame]
Adrian Prantlc4bb47e2015-06-30 17:39:51 +00001// RUN: rm -rf %t
2// 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
3
4// CHECK: ![[CU:.*]] = !DICompileUnit
5@import DebugModule;
6// CHECK: !DIImportedEntity(tag: DW_TAG_imported_declaration, scope: ![[CU]], entity: ![[MODULE:.*]], line: 5)
Adrian Prantld9f09852015-06-30 18:05:46 +00007// CHECK: ![[MODULE]] = !DIModule(scope: null, name: "DebugModule", configMacros: "\22-DGREETING=Hello World\22 \22-UNDEBUG\22", includePath: "{{.*}}test{{.*}}Modules{{.*}}Inputs", isysroot: "/tmp/..")