blob: bad6300801e21dc88d0f56e34bd35fa5748ee057 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# 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
|