llvm-project/lld/test/auto-hide-coalesce.objtxt

69 lines
1.7 KiB
Plaintext
Raw Normal View History

# RUN: lld-core %s | FileCheck %s
#
# Tests auto-hide bit during coalescing
#
---
atoms:
- name: _inlineFunc1
scope: global
definition: regular
type: code
merge: asWeak
- name: _inlineFunc2
scope: global
definition: regular
type: code
merge: asWeak
- name: _inlineFunc3
scope: global
definition: regular
type: code
merge: asAddressedWeak
- name: _inlineFunc4
scope: global
definition: regular
type: code
merge: asAddressedWeak
---
atoms:
- name: _inlineFunc1
scope: global
definition: regular
type: code
merge: asWeak
- name: _inlineFunc2
scope: global
definition: regular
type: code
merge: asAddressedWeak
- name: _inlineFunc3
scope: global
definition: regular
type: code
merge: asWeak
- name: _inlineFunc4
scope: global
definition: regular
type: code
merge: asAddressedWeak
...
# CHECK: name: _inlineFunc1
# CHECK: merge: asWeak
# CHECK: name: _inlineFunc3
# CHECK: merge: asAddressedWeak
# CHECK: name: _inlineFunc4
# CHECK: merge: asAddressedWeak
# CHECK: name: _inlineFunc2
# CHECK: merge: asAddressedWeak
# CHECK: ...