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

37 lines
722 B
Plaintext
Raw Normal View History

# RUN: lld -core %s | FileCheck %s
2012-02-15 08:38:09 +08:00
#
# 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: pcrel32
2012-02-15 08:38:09 +08:00
target: bar
- offset: 6
kind: pcrel32
2012-02-15 08:38:09 +08:00
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: ...