# RUN: lld -flavor gnu -target x86_64 --defsym=foo=0x1234 -r %s \
# RUN: --output-filetype=yaml | FileCheck -check-prefix=ABS %s
# RUN: lld -flavor gnu -target x86_64 --defsym=foo=main -r %s \
# RUN: --output-filetype=yaml | FileCheck -check-prefix=ALIAS %s
defined-atoms:
- name: main
scope: global
content: [ B8, 00, 00, 00, 00, C7, 44, 24, FC, 00, 00, 00, 00, C3 ]
alignment: 16
section-choice: custom-required
section-name: .text
# ABS: absolute-atoms:
# ABS: - name: foo
# ABS: scope: global
# ABS: value: 0x0000000000001234
# ALIAS: defined-atoms:
# ALIAS: - name: foo
# ALIAS: scope: global
# ALIAS: section-choice: custom-required
# ALIAS: section-name: .text
# ALIAS: references:
# ALIAS: - kind: layout-after
# ALIAS: offset: 0
# ALIAS: target: main