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

41 lines
893 B
Plaintext
Raw Normal View History

2012-02-15 08:38:09 +08:00
# RUN: lld-core %s | FileCheck %s
#
# Test fixups to unnamed atoms
#
---
defined-atoms:
2012-02-15 08:38:09 +08:00
- name: foo
type: code
content: [ 48, 8D, 3D, 00, 00, 00, 00,
48, 8D, 3D, 00, 00, 00, 00 ]
fixups:
- offset: 3
kind: 3
target: LC1
- offset: 10
kind: 3
target: LC2
- ref-name: LC1
scope: hidden
type: c-string
content: [ 68, 65, 6c, 6c, 6f, 00 ]
- ref-name: LC2
scope: hidden
type: c-string
content: [ 74, 68, 65, 72, 65, 00 ]
...
# CHECK: name: foo
# CHECK: fixups:
# CHECK: offset: 3
# CHECK: offset: 10
# CHECK: ref-name:
# CHECK: ref-name: