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.
13 lines
311 B
ArmAsm
13 lines
311 B
ArmAsm
# REQUIRES: x86
|
|
# Verify that a .dynstr in the .text segment has null byte terminators
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
|
|
# RUN: ld.lld %t.o --no-rosegment -o %t.so -shared
|
|
# RUN: llvm-objdump %t.so -s -j .dynstr | FileCheck %s
|
|
|
|
# CHECK: 00666f6f 00 .foo.
|
|
|
|
.globl foo
|
|
foo:
|
|
ret
|