1 # This test generates a DW_TAG_structure_type with a linkage name. This linkage
2 # name will not be part of the accelerator table and the verifier should not
5 # DW_TAG_structure_type
7 # DW_AT_linkage_name ("$S4main1CCD")
9 # RUN: llvm-mc %s -filetype obj -triple x86_64-unknown-linux-gnu -o %t.o
10 # RUN: llvm-dwarfdump -debug-info %t.o | FileCheck %s
11 # RUN: llvm-dwarfdump -debug-names %t.o | FileCheck %s --check-prefix ACCEL
12 # RUN: llvm-dwarfdump -verify -debug-names %t.o
14 # CHECK: DW_AT_name ("Bool")
15 # CHECK-NEXT: DW_AT_linkage_name ("$SSbD")
17 # ACCEL-NOT: String: {{.*}} "$SSbD"
18 # ACCEL: String: {{.*}} "Bool"
19 # ACCEL-NOT: String: {{.*}} "$SSbD"
22 .file "local-vars.swift.gyb.tmp.s"
59 .section .swift1_autolink_entries,"a",@progbits
61 .L_swift1_autolink_entries:
62 .asciz "-lswiftSwiftOnoneSupport\000-lswiftCore"
63 .size .L_swift1_autolink_entries, 37
65 .section ".linker-options","e",@llvm_linker_options
66 .section .debug_str,"MS",@progbits,1
68 .asciz "Swift version 4.2-dev effective-4.1.50 (LLVM a4b1bcaa22, Clang 257fa19143, Swift 836ad071bd)"
70 .asciz "/home/jonas/swift/build/Ninja-RelWithDebInfoAssert/swift-linux-x86_64/test-linux-x86_64/DebugInfo/Output/local-vars.swift.gyb.tmp.swift"
72 .asciz "/home/jonas/swift/build/Ninja-RelWithDebInfoAssert/swift-linux-x86_64/test-linux-x86_64/DebugInfo"
76 .asciz "/home/jonas/swift/build/Ninja-RelWithDebInfoAssert/swift-linux-x86_64/test-linux-x86_64/DebugInfo/Output"
80 .asciz "/home/jonas/swift/build/Ninja-RelWithDebInfoAssert/swift-linux-x86_64/lib/swift/linux/x86_64/Swift.swiftmodule"
82 .asciz "SwiftOnoneSupport"
84 .asciz "/home/jonas/swift/build/Ninja-RelWithDebInfoAssert/swift-linux-x86_64/lib/swift/linux/x86_64/SwiftOnoneSupport.swiftmodule"
92 .asciz "$S4main1CCyACSicfc"
96 .asciz "$S4main1CC6isZeroSbyF"
100 .asciz "$S4main1CCfd"
102 .asciz "$S4main1CCfD"
104 .asciz "$S4main1CCMa"
125 .section .debug_abbrev,"",@progbits
305 .section .debug_info,"",@progbits
315 .long .Lline_table_start0
319 .long .Lfunc_end5-.Lfunc_begin0
325 .long .Lfunc_end0-.Lfunc_begin0
336 .long .Linfo_string10
343 .long .Lfunc_end1-.Lfunc_begin1
346 .long .Linfo_string12
347 .long .Linfo_string11
356 .long .Linfo_string25
364 .long .Linfo_string28
372 .long .Lfunc_end2-.Lfunc_begin2
375 .long .Linfo_string14
376 .long .Linfo_string13
385 .long .Linfo_string28
393 .long .Lfunc_end3-.Lfunc_begin3
396 .long .Linfo_string16
397 .long .Linfo_string15
406 .long .Linfo_string28
414 .long .Lfunc_end4-.Lfunc_begin4
417 .long .Linfo_string17
418 .long .Linfo_string15
427 .long .Linfo_string28
436 .long .Lfunc_end5-.Lfunc_begin5
439 .long .Linfo_string18
449 .long .Linfo_string19
450 .long .Linfo_string20
454 .long .Linfo_string21
455 .long .Linfo_string22
459 .long .Linfo_string26
460 .long .Linfo_string27
472 .long .Linfo_string23
474 .long .Linfo_string24
475 .long .Linfo_string24
479 .section .debug_ranges,"",@progbits
480 .section .debug_macinfo,"",@progbits
482 .section .debug_names,"",@progbits
483 .long .Lnames_end0-.Lnames_start0
492 .long .Lnames_abbrev_end0-.Lnames_abbrev_start0
525 .long .Linfo_string15
526 .long .Linfo_string16
527 .long .Linfo_string17
528 .long .Linfo_string13
529 .long .Linfo_string21
530 .long .Linfo_string18
531 .long .Linfo_string24
532 .long .Linfo_string19
533 .long .Linfo_string11
534 .long .Linfo_string12
535 .long .Linfo_string26
537 .long .Linfo_string14
538 .long .Linfo_string23
540 .long .Lnames14-.Lnames_entries0
541 .long .Lnames9-.Lnames_entries0
542 .long .Lnames10-.Lnames_entries0
543 .long .Lnames13-.Lnames_entries0
544 .long .Lnames7-.Lnames_entries0
545 .long .Lnames12-.Lnames_entries0
546 .long .Lnames2-.Lnames_entries0
547 .long .Lnames8-.Lnames_entries0
548 .long .Lnames11-.Lnames_entries0
549 .long .Lnames5-.Lnames_entries0
550 .long .Lnames3-.Lnames_entries0
551 .long .Lnames1-.Lnames_entries0
552 .long .Lnames6-.Lnames_entries0
553 .long .Lnames4-.Lnames_entries0
554 .long .Lnames0-.Lnames_entries0
555 .Lnames_abbrev_start0:
643 .protected $S4main1CCN
644 .set $S4main1CCN, ($S4main1CCMf)+16
645 .section .debug_line,"",@progbits