xref: /llvm-project/llvm/test/Bitcode/DIModule-clang-module.ll (revision e59744fd9b4298c0527163748510a482a942eb54)
1*e59744fdSSourabh Singh Tomar; RUN: llvm-dis -o - %s.bc | FileCheck %s
2*e59744fdSSourabh Singh Tomar
3*e59744fdSSourabh Singh Tomar; CHECK: DIModule(scope: null, name: "DebugModule", configMacros: "-DMODULES=0", includePath: "/", apinotes: "m.apinotes")
4*e59744fdSSourabh Singh Tomar
5*e59744fdSSourabh Singh Tomar; ModuleID = 'DIModule-clang-module.ll'
6*e59744fdSSourabh Singh Tomar
7*e59744fdSSourabh Singh Tomartarget datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
8*e59744fdSSourabh Singh Tomartarget triple = "x86_64-unknown-linux"
9*e59744fdSSourabh Singh Tomar
10*e59744fdSSourabh Singh Tomar!llvm.dbg.cu = !{!0}
11*e59744fdSSourabh Singh Tomar!llvm.module.flags = !{!6, !7}
12*e59744fdSSourabh Singh Tomar!llvm.ident = !{!8}
13*e59744fdSSourabh Singh Tomar
14*e59744fdSSourabh Singh Tomar!0 = distinct !DICompileUnit(language: DW_LANG_ObjC_plus_plus, file: !1, producer: "clang version 11.0.0", isOptimized: false, runtimeVersion: 2, emissionKind: FullDebug, enums: !2, retainedTypes: !2, globals: !2, imports: !3)
15*e59744fdSSourabh Singh Tomar!1 = !DIFile(filename: "/test.cpp", directory: "/")
16*e59744fdSSourabh Singh Tomar!2 = !{}
17*e59744fdSSourabh Singh Tomar!3 = !{!4}
18*e59744fdSSourabh Singh Tomar!4 = !DIImportedEntity(tag: DW_TAG_imported_declaration, scope: !0, entity: !5, file: !1, line: 5)
19*e59744fdSSourabh Singh Tomar!5 = !DIModule(scope: null, name: "DebugModule", configMacros: "-DMODULES=0", includePath: "/", apinotes: "m.apinotes")
20*e59744fdSSourabh Singh Tomar!6 = !{i32 2, !"Dwarf Version", i32 4}
21*e59744fdSSourabh Singh Tomar!7 = !{i32 2, !"Debug Info Version", i32 3}
22*e59744fdSSourabh Singh Tomar!8 = !{!"clang version 11.0.0"}
23