bolt/deps/llvm-18.1.8/lld/test/ELF/dynstr-no-rosegment.s
2025-02-14 19:21:04 +01:00

12 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