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

32 lines
672 B
Plaintext
Raw Normal View History

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