[Alignment][NFC] Use Align with TargetLowering::setMinFunctionAlignment
[llvm-core.git] / test / Assembler / diimportedentity.ll
blob6a0e1eb931c1a192ee9ef914f12a8657636105d2
1 ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
2 ; RUN: verify-uselistorder %s
4 ; CHECK: !named = !{!0, !3, !4, !5, !5}
5 !named = !{!0, !3, !4, !5, !6}
7 !llvm.module.flags = !{!7}
8 !llvm.dbg.cu = !{!1}
10 ; CHECK:      !0 = distinct !DISubprogram({{.*}})
11 !0 = distinct !DISubprogram(name: "foo", isDefinition: true, unit: !1)
13 !1 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang",
14                              file: !2,
15                              isOptimized: true, flags: "-O2",
16                              splitDebugFilename: "abc.debug", emissionKind: 2)
17 !2 = !DIFile(filename: "path/to/file", directory: "/path/to/dir")
18 ; CHECK: !3 = !DICompositeType({{.*}})
19 !3 = !DICompositeType(tag: DW_TAG_structure_type, name: "Class", size: 32, align: 32)
21 ; CHECK-NEXT: !4 = !DIImportedEntity(tag: DW_TAG_imported_module, name: "foo", scope: !0, entity: !1, file: !2, line: 7)
22 !4 = !DIImportedEntity(tag: DW_TAG_imported_module, name: "foo", scope: !0,
23                        entity: !1, file: !2, line: 7)
25 ; CHECK-NEXT: !5 = !DIImportedEntity(tag: DW_TAG_imported_module, scope: !0)
26 !5 = !DIImportedEntity(tag: DW_TAG_imported_module, scope: !0)
27 !6 = !DIImportedEntity(tag: DW_TAG_imported_module, name: "", scope: !0, entity: null,
28                        line: 0)
29 !7 = !{i32 2, !"Debug Info Version", i32 3}