forked from OSchip/llvm-project
[lld] Fix broken test. -layout-pass option does not exist.
Also shuffle the atoms so that it can verify the layout pass actually changed the layout. llvm-svn: 181573
This commit is contained in:
parent
674eaa2c88
commit
eb6b6e4857
|
@ -1,7 +1,15 @@
|
|||
# RUN: lld -core -layout-pass=true %s | FileCheck %s -check-prefix=CHKORDER
|
||||
# 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:
|
||||
|
@ -14,14 +22,6 @@ defined-atoms:
|
|||
- kind: layout-after
|
||||
offset: 0
|
||||
target: fn2
|
||||
- name: fn2
|
||||
scope: global
|
||||
references:
|
||||
- kind: layout-after
|
||||
offset: 0
|
||||
target: fn3
|
||||
- name: fn3
|
||||
scope: global
|
||||
...
|
||||
|
||||
# CHKORDER: - name: fn
|
||||
|
|
Loading…
Reference in New Issue