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

37 lines
709 B
Plaintext
Raw Normal View History

2012-02-15 08:38:09 +08:00
# RUN: lld-core %s | FileCheck %s
#
# Test references to simple named atoms
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: 3
target: bar
- offset: 6
kind: 3
target: baz
- name: baz
scope: static
type: code
undefined-atoms:
2012-02-15 08:38:09 +08:00
- name: bar
...
# CHECK: name: foo
# CHECK: references:
2012-02-15 08:38:09 +08:00
# CHECK: target: bar
# CHECK: target: baz
# CHECK: ...