llvm-project/lld/test/ELF/dynstr-no-rosegment.s

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
311 B
ArmAsm
Raw Normal View History

# REQUIRES: x86
2017-08-05 12:07:21 +08:00
# 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
2017-08-05 12:07:21 +08:00
# RUN: llvm-objdump %t.so -s -j .dynstr | FileCheck %s
# CHECK: 00666f6f 00 .foo.
.globl foo
foo:
ret