xref: /llvm-project/llvm/test/DebugInfo/X86/no-public-sections-metadata.ll (revision 66cf14d06b1c5d20417e312fabd14ffaf4314ae3)
1; RUN: llc -mtriple=x86_64-pc-linux-gnu -debugger-tune=gdb -filetype=asm < %s | FileCheck %s --check-prefix=DISABLED
2
3; DISABLED-NOT: pub{{names|types}}
4
5%struct.bar = type { %"struct.ns::foo" }
6%"struct.ns::foo" = type { i8 }
7
8@b = global %struct.bar zeroinitializer, align 1, !dbg !0
9
10!llvm.dbg.cu = !{!2}
11!llvm.module.flags = !{!11, !12}
12!llvm.ident = !{!13}
13
14!0 = !DIGlobalVariableExpression(var: !1, expr: !DIExpression())
15!1 = distinct !DIGlobalVariable(name: "b", scope: !2, file: !3, line: 8, type: !6, isLocal: false, isDefinition: true)
16!2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "clang", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !4, globals: !5, nameTableKind: None)
17!3 = !DIFile(filename: "type.cpp", directory: "/tmp/dbginfo")
18!4 = !{}
19!5 = !{!0}
20!6 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "bar", file: !3, line: 5, size: 8, elements: !7, identifier: "_ZTS3bar")
21!7 = !{!8}
22!8 = !DIDerivedType(tag: DW_TAG_member, name: "f", scope: !6, file: !3, line: 6, baseType: !9, size: 8)
23!9 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "foo", scope: !10, file: !3, line: 2, size: 8, elements: !4, identifier: "_ZTSN2ns3fooE")
24!10 = !DINamespace(name: "ns", scope: null)
25!11 = !{i32 2, !"Dwarf Version", i32 4}
26!12 = !{i32 2, !"Debug Info Version", i32 3}
27!13 = !{!"clang"}
28
29