forked from OSchip/llvm-project
31 lines
789 B
Plaintext
31 lines
789 B
Plaintext
# RUN: lld -core --add-pass layout %s | FileCheck %s -check-prefix=CHKORDER
|
|
|
|
---
|
|
defined-atoms:
|
|
- name: fn3
|
|
scope: global
|
|
- name: fn2
|
|
scope: global
|
|
references:
|
|
- kind: layout-after
|
|
offset: 0
|
|
target: fn3
|
|
- name: fn
|
|
scope: global
|
|
references:
|
|
- kind: layout-after
|
|
offset: 0
|
|
target: fn1
|
|
- name: fn1
|
|
scope: global
|
|
references:
|
|
- kind: layout-after
|
|
offset: 0
|
|
target: fn2
|
|
...
|
|
|
|
# CHKORDER: - name: fn
|
|
# CHKORDER: - name: fn1
|
|
# CHKORDER: - name: fn2
|
|
# CHKORDER: - name: fn3
|