blob: 1c57cd73bf098cffaf75114a12147c7c2ae0abc5 [file] [log] [blame]
# 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: ...