Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / ELF / dynstr-no-rosegment.s
blobb0ea88161f0a578ea6c8cb5e27e6e454245cf5a5
1 # REQUIRES: x86
2 # Verify that a .dynstr in the .text segment has null byte terminators
4 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
5 # RUN: ld.lld %t.o --no-rosegment -o %t.so -shared
6 # RUN: llvm-objdump %t.so -s -j .dynstr | FileCheck %s
8 # CHECK: 00666f6f 00 .foo.
10 .globl foo
11 foo:
12 ret