llvm-project/lld/test/old-elf/abs-dup.objtxt

20 lines
587 B
Plaintext

# Tests handling an absolute symbol with no name
# RUN: lld -flavor old-gnu -target x86_64 -r %s \
# RUN: --output-filetype=yaml | FileCheck %s
absolute-atoms:
- name: abs
scope: static
value: 0x10
- name: ''
scope: static
value: 0x15
# CHECK: absolute-atoms:
# CHECK: - name: abs
# CHECK: scope: static
# CHECK: value: 0x0000000000000010
# CHECK: - name: ''
# CHECK: scope: static
# CHECK: value: 0x0000000000000015