aboutsummaryrefslogtreecommitdiff
path: root/test/core/inline-coalesce.objtxt
blob: 5ddc9b2624b53a6578bd120c1de7b4eac269a3e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# RUN: lld -core %s %p/Inputs/inline-coalesce.objtxt %p/Inputs/inline-coalesce2.objtxt | FileCheck %s

#
# Test that non-inlined inlined functions are silently coalesced
#

---
defined-atoms:
    - name:              _inlineFunc
      scope:             global
      type:              code
      merge:             as-weak
...


# CHECK:       name: _inlineFunc
# CHECK:       merge: as-weak
# CHECK-NOT:   name: _inlineFunc
# CHECK:       ...