• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# REQUIRES: x86
2# Verify that a .dynstr in the .text segment has null byte terminators
3
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
7
8# CHECK: 00666f6f 00 .foo.
9
10.globl foo
11foo:
12    ret
13