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