2 # RUN: rm -rf %t && mkdir %t && cd %t
3 # RUN: sed 's/LLVM0700/LLVM9999/' %S/Inputs/debug-names-a.s | llvm-mc -filetype=obj -triple=x86_64 -o a.o
4 # RUN: llvm-mc -filetype=obj -triple=x86_64 %S/Inputs/debug-names-b.s -o b.o
5 # RUN: ld.lld --debug-names a.o b.o -o out
6 # RUN: llvm-dwarfdump -debug-names out | FileCheck %s --check-prefix=DWARF
8 # DWARF: .debug_names contents:
9 # DWARF: Name Index @ 0x0 {
10 # DWARF-NEXT: Header {
12 # DWARF-NEXT: Format: DWARF32
13 # DWARF-NEXT: Version: 5
14 # DWARF: Augmentation: ''