llvm-project/lld/test/fixups-dup-named.objtxt

32 lines
672 B
Plaintext

# RUN: lld -core %s | FileCheck %s
#
# Test references referencing multiple atoms that have the same name
#
---
defined-atoms:
- name: foo
type: code
content: [ E8, 00, 00, 00, 00, E8, 00, 00, 00, 00 ]
references:
- offset: 1
kind: pcrel32
target: bar_1
- offset: 6
kind: pcrel32
target: bar_2
- name: bar
ref-name: bar_1
scope: static
- name: bar
ref-name: bar_2
scope: static
...
# CHECK: ...