llvm-capstone/lld/test/fixups-named.objtxt
Nick Kledzik 49d6cc8457 (no commit message)
llvm-svn: 150539
2012-02-15 00:38:09 +00:00

36 lines
679 B
Plaintext

# RUN: lld-core %s | FileCheck %s
#
# Test fixups to simple named atoms
#
---
atoms:
- name: foo
type: code
content: [ E8, 00, 00, 00, 00, E8, 00, 00, 00, 00 ]
fixups:
- offset: 1
kind: 3
target: bar
- offset: 6
kind: 3
target: baz
- name: baz
scope: static
type: code
- name: bar
definition: undefined
...
# CHECK: name: foo
# CHECK: fixups:
# CHECK: target: bar
# CHECK: target: baz
# CHECK: ...