blob: 9f1ff2221b7efc15ab038039de7ffa6a94436ff5 [file] [log] [blame]
Douglas Gregorbf7fc9c2013-03-27 16:47:18 +00001
2@import DependsOnModule;
3
4// RUN: rm -rf %t
5// RUN: %clang_cc1 -w -fmodules -fdisable-module-hash -fmodules-cache-path=%t -F %S/Inputs -DBLARG -DWIBBLE=WOBBLE %s
6// RUN: %clang_cc1 -module-file-info %t/DependsOnModule.pcm | FileCheck %s
7
8// CHECK: Generated by this Clang:
9
Ben Langmuir4f5212a2014-04-14 22:12:44 +000010// CHECK: Module name: DependsOnModule
11// CHECK: Module map file: {{.*}}DependsOnModule.framework{{[/\\]}}module.map
12
Douglas Gregorbf7fc9c2013-03-27 16:47:18 +000013// CHECK: Language options:
14// CHECK: C99: Yes
15// CHECK: Objective-C 1: Yes
16// CHECK: modules extension to C: Yes
17
18// CHECK: Target options:
19// CHECK: Triple:
20// CHECK: CPU:
21// CHECK: ABI:
Douglas Gregorbf7fc9c2013-03-27 16:47:18 +000022// CHECK: Linker version:
23
24// CHECK: Header search options:
25// CHECK: System root [-isysroot=]: '/'
26// CHECK: Use builtin include directories [-nobuiltininc]: Yes
27// CHECK: Use standard system include directories [-nostdinc]: Yes
28// CHECK: Use standard C++ include directories [-nostdinc++]: Yes
29// CHECK: Use libc++ (rather than libstdc++) [-stdlib=]:
30
31// CHECK: Preprocessor options:
32// CHECK: Uses compiler/target-specific predefines [-undef]: Yes
33// CHECK: Uses detailed preprocessing record (for indexing): No
34// CHECK: Predefined macros:
35// CHECK: -DBLARG
36// CHECK: -DWIBBLE=WOBBLE