forked from OSchip/llvm-project
12 lines
533 B
Plaintext
12 lines
533 B
Plaintext
# ELF files can have mergeable strings which are global!, treat them as global
|
|
# defined atoms
|
|
RUN: lld -flavor gnu --output-filetype=yaml %p/Inputs/globalconst.o.x86-64 \
|
|
RUN: --noinhibit-exec -target x86_64 | FileCheck -check-prefix=globalatoms %s
|
|
|
|
globalatoms: - name: mystr
|
|
globalatoms: scope: global
|
|
globalatoms: type: constant
|
|
globalatoms: content: [ 66, 6F, 6F, 62, 61, 72, 00 ]
|
|
globalatoms: section-choice: custom-required
|
|
globalatoms: section-name: .rodata.str1.1
|