Update the tests so that they use layout-after instead of layout-before.
In all other places, we use layout-afters as primary edges.
llvm-svn: 231627
- name: anotherfunction
scope: global
type: data
- references:
- - kind: layout-before
- target: f3
- name: f1
scope: global
type: code
#CHECK: - name: anotherfunction
#CHECK: scope: global
#CHECK: type: data
-#CHECK: references:
-#CHECK: - kind: layout-before
-#CHECK: offset: 0
-#CHECK: target: f3
#CHECK: undefined-atoms:
#CHECK: - name: f3
- name: f1
scope: global
type: code
+ references:
+ - kind: layout-after
+ target: anotherfunction
- name: f2
scope: global
type: code
- name: anotherfunction
scope: global
type: data
- references:
- - kind: layout-before
- target: f1
---
undefined-atoms:
- name: f1
#CHECK: target: [[GCHILD:[a-zA-Z\.0-9_]+]]
#CHECK: - name: f1
#CHECK: scope: global
+#CHECK: references:
+#CHECK: - kind: layout-after
+#CHECK: offset: 0
+#CHECK: target: anotherfunction
#CHECK: - name: f2
#CHECK: scope: global
#CHECK: - name: d1
#CHECK: - name: anotherfunction
#CHECK: scope: global
#CHECK: type: data
-#CHECK: references:
-#CHECK: - kind: layout-before
-#CHECK: offset: 0
-#CHECK: target: f1
- name: anotherfunction
scope: global
type: data
- references:
- - kind: layout-before
- target: f3
- name: f1
scope: global
type: code
#CHECK: - name: anotherfunction
#CHECK: scope: global
#CHECK: type: data
-#CHECK: references:
-#CHECK: - kind: layout-before
-#CHECK: offset: 0
-#CHECK: target: f3
#CHECK: undefined-atoms:
#CHECK: - name: f3
- name: f1
scope: global
type: code
+ references:
+ - kind: layout-after
+ target: anotherfunction
- name: f2
scope: global
type: code
- name: anotherfunction
scope: global
type: data
- references:
- - kind: layout-before
- target: f1
---
undefined-atoms:
- name: f1
#CHECK: target: [[GCHILD:[a-zA-Z\.0-9_]+]]
#CHECK: - name: f1
#CHECK: scope: global
+#CHECK: references:
+#CHECK: - kind: layout-after
+#CHECK: offset: 0
+#CHECK: target: anotherfunction
#CHECK: - name: f2
#CHECK: scope: global
#CHECK: - name: d1
#CHECK: - name: anotherfunction
#CHECK: scope: global
#CHECK: type: data
-#CHECK: references:
-#CHECK: - kind: layout-before
-#CHECK: offset: 0
-#CHECK: target: f1