1*9880d681SAndroid Build Coastguard Worker; ModuleID = '/Volumes/Data/apple-internal/llvm/tools/clang/test/Modules/debug-info-moduleimport.m' 2*9880d681SAndroid Build Coastguard Worker; RUN: llc %s -o %t -filetype=obj 3*9880d681SAndroid Build Coastguard Worker; RUN: llvm-dwarfdump -debug-dump=info %t | FileCheck %s 4*9880d681SAndroid Build Coastguard Worker; CHECK: DW_TAG_module 5*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: DW_AT_name {{.*}}"DebugModule" 6*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: DW_AT_LLVM_config_macros {{.*}}"-DMODULES=0" 7*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: DW_AT_LLVM_include_path {{.*}}"/llvm/tools/clang/test/Modules/Inputs" 8*9880d681SAndroid Build Coastguard Worker; CHECK-NEXT: DW_AT_LLVM_isysroot {{.*}}"/" 9*9880d681SAndroid Build Coastguard Worker 10*9880d681SAndroid Build Coastguard Workertarget datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" 11*9880d681SAndroid Build Coastguard Workertarget triple = "x86_64-apple-macosx" 12*9880d681SAndroid Build Coastguard Worker 13*9880d681SAndroid Build Coastguard Worker!llvm.dbg.cu = !{!0} 14*9880d681SAndroid Build Coastguard Worker!llvm.module.flags = !{!6, !7} 15*9880d681SAndroid Build Coastguard Worker!llvm.ident = !{!8} 16*9880d681SAndroid Build Coastguard Worker 17*9880d681SAndroid Build Coastguard Worker!0 = distinct !DICompileUnit(language: DW_LANG_ObjC, file: !1, producer: "LLVM version 3.7.0", isOptimized: false, runtimeVersion: 2, emissionKind: FullDebug, enums: !2, retainedTypes: !2, globals: !2, imports: !3) 18*9880d681SAndroid Build Coastguard Worker!1 = !DIFile(filename: "/llvm/tools/clang/test/Modules/<stdin>", directory: "/") 19*9880d681SAndroid Build Coastguard Worker!2 = !{} 20*9880d681SAndroid Build Coastguard Worker!3 = !{!4} 21*9880d681SAndroid Build Coastguard Worker!4 = !DIImportedEntity(tag: DW_TAG_imported_declaration, scope: !0, entity: !5, line: 5) 22*9880d681SAndroid Build Coastguard Worker!5 = !DIModule(scope: null, name: "DebugModule", configMacros: "-DMODULES=0", includePath: "/llvm/tools/clang/test/Modules/Inputs", isysroot: "/") 23*9880d681SAndroid Build Coastguard Worker!6 = !{i32 2, !"Dwarf Version", i32 4} 24*9880d681SAndroid Build Coastguard Worker!7 = !{i32 2, !"Debug Info Version", i32 3} 25*9880d681SAndroid Build Coastguard Worker!8 = !{!"LLVM version 3.7.0"} 26