blob: c9594d28f98c85d1a1f9f62db7e7fa6c73857b2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# REQUIRES: asserts
# RUN: not lld -core --add-pass layout -mllvm -debug-only=LayoutPass \
# RUN: %s 2> %t.err
# RUN: FileCheck %s -check-prefix=CHECK < %t.err
---
defined-atoms:
- name: fn
scope: global
references:
- kind: layout-before
offset: 0
target: fn
- kind: in-group
offset: 0
target: fn
...
# CHECK: There's a cycle in a follow-on chain!
# CHECK: fn
# CHECK: layout-before: fn
# CHECK: in-group: fn
|