forked from OSchip/llvm-project
51 lines
1.3 KiB
Plaintext
51 lines
1.3 KiB
Plaintext
# RUN: lld-core -layout-pass=true %s | FileCheck %s -check-prefix=CHKORDER
|
|
|
|
---
|
|
defined-atoms:
|
|
- name: A
|
|
scope: global
|
|
references:
|
|
- kind: layout-after
|
|
offset: 0
|
|
target: B
|
|
- name: B
|
|
scope: global
|
|
references:
|
|
- kind: in-group
|
|
offset: 0
|
|
target: A
|
|
- kind: layout-after
|
|
offset: 0
|
|
target: E
|
|
- name: F
|
|
scope: global
|
|
references:
|
|
- kind: in-group
|
|
offset: 0
|
|
target: E
|
|
- kind: layout-after
|
|
offset: 0
|
|
target: G
|
|
- name: G
|
|
scope: global
|
|
references:
|
|
- kind: in-group
|
|
offset: 0
|
|
target: E
|
|
- name: E
|
|
scope: global
|
|
references:
|
|
- kind: in-group
|
|
offset: 0
|
|
target: A
|
|
- kind: layout-after
|
|
offset: 0
|
|
target: F
|
|
...
|
|
|
|
# CHKORDER: - name: A
|
|
# CHKORDER: - name: B
|
|
# CHKORDER: - name: E
|
|
# CHKORDER: - name: F
|
|
# CHKORDER: - name: G
|