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

20 lines
583 B
Plaintext

# Tests handling an absolute symbol with no name
# RUN: lld -flavor 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