Announced on https://lists.llvm.org/pipermail/llvm-dev/2020-May/141416.html Similar to D79371, but for `multiclass B` (convenience helper for defining --foo and --no-foo) Some changed options are also used by gold, but I haven't seen their one-dash use cases outside of lld's testsuite.
19 lines
503 B
ArmAsm
19 lines
503 B
ArmAsm
# REQUIRES: x86
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
|
|
|
|
# RUN: ld.lld %t.o -o %t1.exe
|
|
# RUN: llvm-readobj --sections %t1.exe | FileCheck %s
|
|
# CHECK: .debug_gnu_pubnames
|
|
# CHECK: .debug_gnu_pubtypes
|
|
|
|
# RUN: ld.lld --gdb-index %t.o -o %t2.exe
|
|
# RUN: llvm-readobj --sections %t2.exe | FileCheck %s --check-prefix=GDB
|
|
# GDB-NOT: .debug_gnu_pubnames
|
|
# GDB-NOT: .debug_gnu_pubtypes
|
|
|
|
.section .debug_gnu_pubnames,"",@progbits
|
|
.long 0
|
|
|
|
.section .debug_gnu_pubtypes,"",@progbits
|
|
.long 0
|