1# REQUIRES: x86 2# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o 3 4# RUN: ld.lld %t.o -o %t1.exe 5# RUN: llvm-readobj --sections %t1.exe | FileCheck %s 6# CHECK: .debug_gnu_pubnames 7# CHECK: .debug_gnu_pubtypes 8 9# RUN: ld.lld --gdb-index %t.o -o %t2.exe 10# RUN: llvm-readobj --sections %t2.exe | FileCheck %s --check-prefix=GDB 11# GDB-NOT: .debug_gnu_pubnames 12# GDB-NOT: .debug_gnu_pubtypes 13 14.section .debug_gnu_pubnames,"",@progbits 15.long 0 16 17.section .debug_gnu_pubtypes,"",@progbits 18.long 0 19